The System Design diary

Scalibility

Scalability is the property of system to evolve as the work load grows.

Types of work load

Users
New features
Data volume
Complexity in code
Geographical Reach

Ways to scale your system

Vertical scaling (Scale up) : adding…


This content originally appeared on DEV Community and was authored by sonu sharma

Scalibility

Scalability is the property of system to evolve as the work load grows.

Types of work load

  1. Users
  2. New features
  3. Data volume
  4. Complexity in code
  5. Geographical Reach

Ways to scale your system

  1. Vertical scaling (Scale up) : adding more RAM / fast ram, it is effective but has limit to how effective it can be.
  2. Horizontal scaling (Scale out) : adding additional machines to distribute work on these new added machines to reduce work load on a single machine.
  3. Partitioning: Split the data across multiple nodes to distribute workload and avoid bottlenecks.
  4. Load Balance: Having a lot of machines running is ineffective if the traffic is on single machine. Here comes load balances to distribute the traffic across machines.
  5. Auto Scaling: Helps to automatically spin new machines when burst of traffic apprears.
  6. Caching: Go to mechanism to improve latency of APIs. It is effective in reducing load on databases.
  7. Content Delivery Network (CDNs): Used to serve static pages, images, videos results in faster load time.
  8. Asynchronous Communication: Defer long-running tasks / non-critical tasks to background queues or message brokers. This ensures your main application remains responsive to users.
  9. Microservices Architecture: Break down your service to small independent services so that these services can scaled independently.
  10. Multi-region Deployment: Deploy the application in multiple data centers or cloud regions to reduce latency and improve redundancy.


This content originally appeared on DEV Community and was authored by sonu sharma


Print Share Comment Cite Upload Translate Updates
APA

sonu sharma | Sciencx (2024-08-27T02:28:05+00:00) The System Design diary. Retrieved from https://www.scien.cx/2024/08/27/the-system-design-diary/

MLA
" » The System Design diary." sonu sharma | Sciencx - Tuesday August 27, 2024, https://www.scien.cx/2024/08/27/the-system-design-diary/
HARVARD
sonu sharma | Sciencx Tuesday August 27, 2024 » The System Design diary., viewed ,<https://www.scien.cx/2024/08/27/the-system-design-diary/>
VANCOUVER
sonu sharma | Sciencx - » The System Design diary. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/27/the-system-design-diary/
CHICAGO
" » The System Design diary." sonu sharma | Sciencx - Accessed . https://www.scien.cx/2024/08/27/the-system-design-diary/
IEEE
" » The System Design diary." sonu sharma | Sciencx [Online]. Available: https://www.scien.cx/2024/08/27/the-system-design-diary/. [Accessed: ]
rf:citation
» The System Design diary | sonu sharma | Sciencx | https://www.scien.cx/2024/08/27/the-system-design-diary/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.