SYSTEM DESIGN - EX99
Last updated
Was this helpful?
Last updated
Was this helpful?
10M users
100M sync per day
1
2. Scale DB
3. Add notification server and metaserver to handle client polling.
4. (1) scale servers, (2) add memcache to reduce db load, (3) blockserver is far away from DB, and the DB query is long.
5. continue to scale
6
Blockserver is far away from the DB, and it takes a long time to do DB query. => Sending request from Blockserver to metaserver can reduce DB query time.
Polling consumes lots of resource frequently, and it is moved to independent servers.