Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

Problem

  • App running in the cloud expecting to handle a large number of requests :

    • not handle synchronously, rather handle them asynchronously.

  • At peak hours, using a single instance can cause the instance to become flooded with requests.

Solution

  • Using multiple instances to make the workload to be load balanced across consumers to prevent an instance to become the bottleneck.

    • Need a message queue to distribute work to instances of a service.

image-20240827-143440.png

Competing Consumers In Practice

  • No labels