Confirmed users
971
edits
Line 120: | Line 120: | ||
|} | |} | ||
=== Home | === Home Web Servers === | ||
We will have stateless web servers that run the Home web application. These are standard web servers running Apache or NGINX to serve the Home web application. | |||
These servers will likely be load balanced by Zeus. | |||
These servers are supposed to be stateless so no data will stored on these servers. However, they might have sensitive configuration settings stored on them. For example things like web service keys or tokens that we need to connect to third party services. These are not user specific but instead are for the Home application. | |||
(These external services have not been identified yet, but think about services like bit.ly.) | |||
The tables below simply summarize the data encountered by this component. | |||
'''Stored Data:''' | |||
= | {| class="wikitable" | ||
|- | |||
! What | |||
! Where | |||
|- | |||
| data type | |||
| where stored | |||
|} | |||
'''Communication with Crypto Proxy''' | |||
{| class="wikitable" | |||
|- | |||
! Direction | |||
! Message | |||
! Data | |||
! Notes | |||
|- | |||
| ''In:'' | |||
| message 1 | |||
| types of data received from component Y with the message | |||
| | |||
|- | |||
| ''Out:'' | |||
| message 2 | |||
| types of data sent to component Y with the message | |||
| | |||
|} | |||
'''Communication with [[Services/Sync|Sync Server]]''' | |||
{| class="wikitable" | |||
|- | |||
! Direction | |||
! Message | |||
! Data | |||
! Notes | |||
|- | |||
| ''In:'' | |||
| message 1 | |||
| types of data received from component Y with the message | |||
| | |||
|- | |||
| ''Out:'' | |||
| message 2 | |||
| types of data sent to component Y with the message | |||
| | |||
|} | |||
=== Database Servers === | |||
User data will sharded over a number of database servers. We will use a simple hashing mechanism so that we can determine where a user's data lives based on for example their username. | User data will sharded over a number of database servers. We will use a simple hashing mechanism so that we can determine where a user's data lives based on for example their username. | ||
Line 152: | Line 195: | ||
One thing we will probably do is run some queries offline. For example we can periodically 'calculate' a list of your top sites and store that in a database table too. | One thing we will probably do is run some queries offline. For example we can periodically 'calculate' a list of your top sites and store that in a database table too. | ||
== | The tables below simply summarize the data encountered by this component. | ||
'''Stored Data:''' | |||
{| class="wikitable" | |||
|- | |||
! What | |||
! Where | |||
|- | |||
| data type | |||
| where stored | |||
|} | |||
'''Communication with Crypto Proxy''' | |||
{| class="wikitable" | |||
|- | |||
! Direction | |||
! Message | |||
! Data | |||
! Notes | |||
|- | |||
| ''In:'' | |||
| message 1 | |||
| types of data received from component Y with the message | |||
| | |||
|- | |||
| ''Out:'' | |||
| message 2 | |||
| types of data sent to component Y with the message | |||
| | |||
|} | |||
'''Communication with [[Services/Sync|Sync Server]]''' | |||
{| class="wikitable" | |||
|- | |||
! Direction | |||
! Message | |||
! Data | |||
! Notes | |||
|- | |||
| ''In:'' | |||
| message 1 | |||
| types of data received from component Y with the message | |||
| | |||
|- | |||
| ''Out:'' | |||
| message 2 | |||
| types of data sent to component Y with the message | |||
| | |||
|} | |||
=== Memcache Servers === | |||
The tables below simply summarize the data encountered by this component. | The tables below simply summarize the data encountered by this component. |