Services/F1/Server/ServicesStatusDB: Difference between revisions

No edit summary
Line 8: Line 8:


1. On every request the client adds a X-Target-Service header containing the domain of the service it wants to reach.  
1. On every request the client adds a X-Target-Service header containing the domain of the service it wants to reach.  
  For example, if the clients want to share on Twitter, a "X-Target-Service: twitter.com" is added.
  For example, if the clients want to share on Twitter, a "X-Target-Service: twitter.com" is added.


2. The web server (NGinx) that receives the query ask the Services DB what is the status of the service (as described later) and decide if the query should go through or not.  
2. The web server (NGinx) that receives the query ask the Services DB what is the status of the service (as described later) and decide if the query should go through or not.  
Line 19: Line 19:


6. If the upstream server fails. e.g. if the third party service is considered down, it notifies asynchrously the Services DB
6. If the upstream server fails. e.g. if the third party service is considered down, it notifies asynchrously the Services DB


= Client UX on outage =  
= Client UX on outage =  
Confirmed users
927

edits