Alex Xu

Alex Xu

31-10-2022

16:38

1/ How to scale from 0 to millions of users - spooky edition 2 Designing a system that supports millions of users is challenging, and it is a journey that requires continuous refinement and endless improvement. Let’s take a quick look at what are some of the key components.

2/ 𝐋𝐨𝐚𝐝 𝐛𝐚𝐥𝐚𝐧𝐜𝐞𝐫 A load balancer evenly distributes incoming traffic among web servers that are defined in a load-balanced set 𝐖𝐞𝐛 𝐬𝐞𝐫𝐯𝐞𝐫𝐬 Web server returns HTML pages or JSON response for rendering 𝐃𝐚𝐭𝐚𝐛𝐚𝐬𝐞𝐬: vertical and horizontal scaling

3/ 𝐂𝐚𝐜𝐡𝐞 A cache is a temporary storage area that stores the result of expensive responses or frequently accessed data in memory so that subsequent requests are served more quickly.

4/ 𝐂𝐨𝐧𝐭𝐞𝐧𝐭 𝐝𝐞𝐥𝐢𝐯𝐞𝐫𝐲 𝐧𝐞𝐭𝐰𝐨𝐫𝐤 (𝐂𝐃𝐍) A CDN is a network of geographically dispersed servers used to deliver static content. CDN servers cache static content like images, videos, CSS, JavaScript files, etc.

5/ 𝐌𝐞𝐬𝐬𝐚𝐠𝐞 𝐪𝐮𝐞𝐮𝐞 A message queue is a durable component, stored in memory, that supports asynchronous communication.

6/ 𝐋𝐨𝐠𝐠𝐢𝐧𝐠, 𝐦𝐞𝐭𝐫𝐢𝐜𝐬, 𝐚𝐮𝐭𝐨𝐦𝐚𝐭𝐢𝐨𝐧 When working with a small website that runs on a few servers, logging and automation support are good practices but not a necessity. However, now that your site has grown, investing in those tools is essential.



Follow us on Twitter

to be informed of the latest developments and updates!


You can easily use to @tivitikothread bot for create more readable thread!
Donate 💲

You can keep this app free of charge by supporting 😊

for server charges...