Services/F1/Server/Architecture: Difference between revisions

Line 24: Line 24:
right queue. It then return a 202 code to the client.
right queue. It then return a 202 code to the client.


4. A worker picks the job and do it. Once it gets the result back, it sends back the result in the queue.
4. A worker picks the job and do it. Once it gets the result back, it sends back the result in a response queue.


5. A Consumer picks the jobs that are done.  
5. A Consumer picks the jobs that are done in the response queue.


6. The consumer selects a Result DB server by using a simple modulo-based shard algorithm. It pushes the result into the select Result DB.  
6. The consumer selects a Result DB server by using a simple modulo-based shard algorithm. It pushes the result into the select Result DB.  
Confirmed users
927

edits