Question
Which of the following best explains why communication
latency is generally higher in microservices compared to monolithic architectures?ÂSolution
In a microservices architecture, services communicate with each other over the network, often via protocols like HTTP or gRPC, which introduces network latency. Unlike monolithic systems where components within the same application can interact directly, microservices operate in isolated environments and require network calls to share data and functionalities. This network-based communication, while providing flexibility and independence to each service, results in higher latency compared to direct in-process calls within a monolithic architecture. Therefore, managing and optimizing this latency is essential in microservices design to ensure overall system performance. Option A - Microservices are loosely coupled and can run on multiple platforms, often distributed across different servers or clusters. Option C - Microservices frequently communicate to maintain coherence across services; they do not avoid communication. Option D - Microservices generally decentralize databases rather than centralizing them. Option E - Shared memory communication is not a characteristic of microservices, as each service is isolated and uses network protocols for interaction.
- Suman’s birthday is on Saturday 29th July. On which day of the week will be Tarun’s birthday in the same year if Tarun was born on 12th September?
- What will be the angle formed between the hour hand and minute hand of a clock at 7hrs 37mins?
What is the reflex angle between the hands of a clock at 15 minutes past 5?
It was Sunday on June 2, 2019. What will be the day on June 2, 2027?
When seen through a mirror, a clock shows 9:08hrs. The correct time is ___.
Find the angle between the hour and minute hand of the clock when the time is 3:25 AM?
It will be Saturday on November 12, 2022. What will be the day on November 12, 2028?
- It will be Saturday on November 12, 2022. What will be the day on November 12, 2028?
- What was the day of the week on ‘9th November 1998’?
- When seen through a mirror, a clock shows 2:45hrs. The correct time is ___.