1.7 KiB
1.7 KiB
layout, title
| layout | title |
|---|---|
| page | System Design - Concepts |
other system design resources
back of the envelope calculations back of the envelope
architecting systems for scale github - system design premier
-
Message Queues (RabbitMQ and kafka)
- buffer where producers add expensive workload tasks
- worker consumers take and process tasks
-
Periodic Tasks
- Like 'link cleanup service' in link shortener
-
Map-Reduce
- once you start sharding your DB and SQL queries don't work
- distributed data processing
-
Platform Layer
- an interface for other microservices to interact with a 3rd party
-
long polling vs websockets vs server-sent events
- ajax polling
- many http reqs and responses
- http long-polling (hanging GET)
- client expects the server to not respond immediately
- web-sockets
- full deplex communication over tcp connection
- server sent events
- ajax polling