Scalability Flashcards

1
Q

Scalability vs Performance

A

Performance:
Performance measures, how much time system takes to do single operation or for single user. If system is slow for single user we need improve performance. Which can achieved by changing flow or design of the system.

Scalability:
If system fast for single user and slow for multiple user we need to focus on Scaling. If system grows performance will degrades if system doesn’t scale or scalable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How System Grows?

A
  1. More Users
  2. More Data
  3. More Functionality
  4. Complex system
  5. Various Geographical users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to Scale a System?

A
  1. Vertical Scaling - Increasing single System Capacity called vertical scaling. like increasing RAM, Core and etc.
  2. Horizontal Scaling - Increasing no.of systems which handle the Req called Horizontal Scaling.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the pros & cons of Vertical scaling vs Horizontal Scaling?

A

Vertical Scaling | Horizontal Scaling
1. Single Point of failure | 1. Resilient
2. Won’t scale after some point | 2. Will Scale easily by ——————————————————–| increasing no.of Systems
3. communication b\w 2 process will be | 3. Uses network call slower
fast as it using inter process |
communication (like RPC) |
4. N/A | 4. Need Load balancing
5. Consistence | 5. Inconsistency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which will work?

A

The Efficient scaling method is using Hybrid of both models.
First Scale single system by increasing it hardware capacities. Once it reaches it maximum limit increase the no.of system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly