Please enable JavaScript.
Coggle requires JavaScript to display documents.
System design, CDN- Content Delivery Networks, Monolit architecture,…
System design
steps
-
-
- Understand problem, establish design scope
-
-
-
-
-
-
-
-
-
DB
sharding - partitioning - divide data, one pice - 1 server (by location, id....)
consistency
availability
problems
-
memhashed (not only about consistent hashing can be applyied on bussiness logic) can't have flexibele ammount of shade - have FIXED AMOUNT OF SHARD -to fixe it can use HIEARCHICKAL SHARDING(split one shard to smaller pieses) - it gives flexability
advantage
-
-
have master slaves for reading, writing - master. When master fall can choose master from slaves
-
-
-
-
Message/task queue - monitor heartbeats and when one of the servers don't response - redirect request to another server using CONSISTENT HASHING
-
-
-
Tinder architecture
Main points
-
-
-
dirrect messaging
user1->request (messageTo(user2) XMPP or HTTP-> gateway-> ..->XMPP(peer-to-peer protocol - it push user when message is comes but not user pushes server)
-
-
-
-