Core Concepts Flashcards

(10 cards)

1
Q

What is scalability in system design?

A

Scalability is the ability of a system to handle increased load by adding resources. It can be vertical (adding more power to existing machines) or horizontal (adding more machines).

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

What is the difference between vertical and horizontal scaling?

A

Vertical scaling means adding more power (CPU, RAM) to existing servers. Horizontal scaling means adding more servers to distribute the load. Horizontal scaling is generally more flexible and fault-tolerant.

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

What is reliability in system design?

A

Reliability is the ability of a system to continue functioning correctly even when failures occur. It’s often measured by uptime percentages like 99.9% (three nines) or 99.99% (four nines).

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

What is availability?

A

Availability is the proportion of time a system is operational and accessible when needed. High availability systems minimize downtime through redundancy and failover mechanisms.

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

What is the CAP theorem?

A

CAP theorem states that a distributed system can only guarantee two out of three properties: Consistency (all nodes see the same data), Availability (every request gets a response), and Partition Tolerance (system works despite network failures).

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

What is maintainability?

A

Maintainability refers to how easy it is to operate, update, debug, and extend a system over time. It includes code quality, documentation, and operational practices.

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

What does consistency mean in distributed systems?

A

Consistency means all nodes in a distributed system see the same data at the same time. Strong consistency ensures immediate updates, while eventual consistency allows temporary inconsistencies.

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

What is fault tolerance?

A

Fault tolerance is the ability of a system to continue operating properly in the event of failure of some of its components. It’s achieved through redundancy and graceful degradation.

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

What is latency?

A

Latency is the time delay between a request and its response. Lower latency means faster response times. It’s typically measured in milliseconds.

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

What is throughput?

A

Throughput is the number of operations or requests a system can handle in a given time period, often measured in requests per second (RPS) or transactions per second (TPS).

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