見出し画像

System design

Single server setup

  1. Users access websites through domain names, such as api.mysite.com. Usually, the Domain Name System (DNS) is a paid service provided by 3rd parties and not hosted by our servers.

  2.  Internet Protocol (IP) address is returned to the browser or mobile app. In the example, IP address 15.125.23.214 is returned.

  3. Once the IP address is obtained, Hypertext Transfer Protocol (HTTP) [1] requests are sent directly to your web server.

  4. The web server returns HTML pages or JSON response for rendering.

Database 

NoSQL databases. These databases are grouped into four categories:

  1. key-value stores

  2. graph stores

  3. column stores

  4. document stores

Join operations are generally not supported in non-relational databases.



Vertical scaling vs horizontal scaling

Vertical scaling, referred to as “scale up”, means the process of adding more power (CPU, RAM, etc.) to your servers. Horizontal scaling, referred to as “scale-out”, allows you to scale by adding more servers into your pool of resources.


read-through cache

この記事が気に入ったらサポートをしてみませんか?