Please enable JavaScript.
Coggle requires JavaScript to display documents.
System Design - Coggle Diagram
System Design
Scale from 0 to Mils
-
#1. Users access website through domain names.
Usually, DNS = paid service hosted by 3rd parties
#3. Once IP address is obtained, HTTP requests are sent directly to the server.
#4. Web server returns HTML or JSON responses.
-
NoSQL database types:
key-value stores (CouchDB)
graph stores (Neo4j)
column stores (Cassandra)
document stores (HBase)
Use Non-relational db when:
(1) App requires super LOW LATENCY
(2) Unstructured data
(3) Only need to de/serialize data (json, xml, yaml, etc)
(4) Need to store a massive amount of data
Scaling
Vertical scaling: Add more power (CPU, RAM, etc) to fixed number of servers
-
:red_cross: Failover & redundancy
When 1 server fails, the app goes down
-
-
-
Users connect to public IP of load balancer directly.
Better security Load balancer uses Private IPs to communicate between servers
-
-