You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will put requests into a pubsub queue (Kafka or RabbitMQ), and consumer workers will handle the requests off the queue. This is for resilience to high loads. I
The text was updated successfully, but these errors were encountered:
we receive the request in flask, and just processs it . this is fine, but if we have high load spike, llike 5000 reqs in 1 sec, it'll probably fail some of them
so we should RabbitMQ. I've only used Kafka, but the idea is that
request comes in (see flask endpoint) -> put on a queue -> workers consume from the queue to process the request
this will allow us to handle 5000 reqs that come in in 1 second
We will put requests into a pubsub queue (Kafka or RabbitMQ), and consumer workers will handle the requests off the queue. This is for resilience to high loads. I
The text was updated successfully, but these errors were encountered: