Cloud server deployment details.
There are four active servers:
- useast1 (GCP)
- europe2 (AWS)
- asia2 (AWS)
- uswest1 (Linode)
- staging (GCP) - testing and standby only
Internet traffic is routed to the server with the lowest latency that passes a health check (Amazon Route 53).
Each server has its own local instance of MongoDB. Data is replicated asynchronously with eventual consistency.
Videos, images, and other media is stored in Google Cloud Storage and Amazon S3.
Content Delivery Network (CDN)
BunnyCDN and Amazon CloudFront are used to distribute media.
Reporting Data Warehouse
Data warehouse stores display reports, collected data, screen status history, user audit trail, and media upload log.
Server instances write to shared custom data warehouse on useast1. All servers can buffer at least 100 million records if useast1 is unavailable.
- Media is duplicated and stored in both GCS and Amazon S3.
- MongoDB on useast1 backed up daily 08:00 GMT.
- Data Warehouse on useast1 backed up daily 04:00 GMT.