Services/F1/Server/Architecture: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 78: Line 78:


The API keys for each services are stored in the back-end layer only. The front end layer, accessible from outside, does not have the keys and just pass the requests.
The API keys for each services are stored in the back-end layer only. The front end layer, accessible from outside, does not have the keys and just pass the requests.
== Long polling ==
The Synchronous architecture keeps the connection open during the whole transaction. The Front and back end web servers both pile up requests until they are over.
The Gunicorn server uses asynchronous workers that are based on GEvent which allow cooperative sockets. The immediate benefit is the ability to handle a lot of simultaneous requests that are I/O bound.


= Asynchronous Architecture =
= Asynchronous Architecture =
Confirmed users
927

edits

Navigation menu