Distributed Systems: Strategies

From wikinotes

Tutorials

Devoxx 4x major strategies (video) https://www.youtube.com/watch?v=tpspO9K28PM

Strategies

3-tier

(presentation-tier) -> (business-tier) -> (data tier)
# react.js          ->     node.js     -> cassandra

sharded

  • Each server-app behaves like a non-distributed system.
  • Data is written to one server, but read from one of many servers
  • Data is replicated/read-from multiple servers
(client)  ->  (server-app) ->  (data tier)

under massive scale, you'll need to split your data-tier writes across multiple write-databases. (ex: A-F, G-N, O-Z).

lambda

streaming