Lets discuss about basic feature of system design- scalability A system is considered scalable when it doesn't need to be redesigned to maintain effective performance after a steep increase in workload or simply when we got lots of users then it should work smoothly.
We can achieve it by two ways.
1. by horizontal scaling
2. by vertical scaling
horizontal scaling - it means adding more machines to your server or database to perform tasks.
vertical scaling - by adding more resources (CPU/DISK) on demand for performance
1. by horizontal scaling
2. by vertical scaling
horizontal scaling - it means adding more machines to your server or database to perform tasks.
vertical scaling - by adding more resources (CPU/DISK) on demand for performance
Lets try to understand features of horizontal scaling
1. load balancing required
2. resilient
3. used network calls
4. data inconsistency
5. scales well as user increases
1. load balancing required
2. resilient
3. used network calls
4. data inconsistency
5. scales well as user increases
Features of vertical scaling
1. single point of failure
2. inter process communication
3. consistent
4. hardware limit
5. load balancing not required
But we want the features like does our system is scalable, does it is reslient, does it is consistent.
1. single point of failure
2. inter process communication
3. consistent
4. hardware limit
5. load balancing not required
But we want the features like does our system is scalable, does it is reslient, does it is consistent.
Initially we can use vertical scaling and as user gets increases we can use them in horizontal scaling. We got some trade off with each of them and that whats a system design is. We design a system, which is going to meet the requirement and it should works efficiently.
I would like to invite
@dmokafa
@macerub
@oliverjumpertz
to share their valuable experience with me on this topic.
#100DaysOfCode #DEVCommunity #code
@dmokafa
@macerub
@oliverjumpertz
to share their valuable experience with me on this topic.
#100DaysOfCode #DEVCommunity #code