Question
Which of the following is a common challenge in
transitioning from a monolithic to a microservices architecture?ΒSolution
A key challenge in migrating from a monolithic to a microservices architecture is managing distributed transactions. In a monolithic system, transactions are typically managed within a single database and within a single application boundary, simplifying transaction integrity. In microservices, however, services often manage their own data stores, making it complex to maintain transaction consistency across multiple services. Techniques such as the Saga pattern are often used to ensure distributed transaction management, but these solutions require additional effort and may increase application complexity. Distributed transactions, as such, present a unique challenge in a microservices architecture that is generally not encountered in monolithic setups. Option A - With microservices, it's common to have multiple repositories, not a single codebase, allowing more flexible development. Option B - Microservices avoid single-point deployments by deploying services independently. Option D - Scalability is generally enhanced in microservices as each component can scale separately. Option E - Dependency on centralized databases is more common in monolithic architectures than microservices, which encourage distributed databases.
- Cost price of an item is Rs. (12n + 240). It is marked 50% above its cost price and sold after allowing a discount of Rs. (2n + 40). If the profit earned i...
- If the total cost of 9 mangoes and 6 oranges is Rs. 270 and the total cost of 7 mangoes and 4 oranges is Rs. 200, then find the cost of 5 mangoes.
The cost price of an article is βΉ520. Some part of it is sold at 16% loss and the remaining part at some profit %. In this transaction, there is a pro...
Ritika purchased a washing machine for Rs. 18,000, listed it 30% above the cost price, and sold it after allowing successive discounts of 10% and 20%. W...
- An item was sold at Rs. 5000 making a 10% gain. If it had been sold at Rs. 4200, determine the approximate profit or loss percentage.
A shopkeeper sells an article at a loss of 25%. If he had sold it for Rs 240 more, he would have made a profit of 15%. Find the cost price of the article.
The cost price of an article is Rs. 2800 and a shopkeeper wants to earn 15% profit on it after giving 8% discount on marked price. Find the marked price...
The combined cost price of two products, P and Q, is Rs. 5000. Product P is marked up by 25% on its cost and Product Q is marked up by 40%. After giving...
Β A shopkeeper buys an article for 1200. He marks it 30% above cost price and gives 10% discount on marked price. What is his profit (in rupees)?
- The average cost price of articles 'M' and 'N' together is Rs. 500 where the cost price of article 'N' is Rs. 100 more than that of article 'M'. If article...