High Availability, Scaling, Workload Isolation Flashcards

(20 cards)

1
Q

High Availability

A

The ability of a database system to remain operational and accessible with minimal downtime, often achieved through redundancy and failover

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

Replica Set

A

a group of nodes that maintain the same data set, providing redundancy and automatic failover for high availability

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

Primary vs Secondary Node

A

Primary: the replica set member that accepts all write operations, replicating data to secondary nodes

Secondary Node: a replica set member that replicates data from the primary node and can serve read operations or become primary during failover

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

Failover

A

Process where a replica set automatically elects a new primary node if the current primary fails

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

Arbiter

A

A lightweight node in a replica set that participates in elections but does not store data, used to break ties in voting

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

Write Concern

A

setting that specifies the number of nodes that must acknowledge a write operation to ensure data durability

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

Scalability

A

the ability of a database to handle increased load (more users, data, queries) by adding resources or distributing workload

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

Sharding

A

Method for horizontal scaling by distributing data across multiple servers (shards) based on a shard key

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

shard

A

a single partition of a database, storing a subset of the data in a sharded cluster

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

Shard Key

A

The field used by MongoDB to determine how data is distributed across shards, critical for efficient sharding

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

Horizontal Scaling

A

Adding more servers (nodes or shards) to a database system to increase capacity, as opposed to upgrading a single server

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

Vertical Scaling

A

Increasing the resources (CPU, RAM, storage) of a single server to handle more load, limited by hardware constraints

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

Workload Isolation

A

The practice of separating different types of database workloads (e.g. transactional, analytical) to prevent resource contention and optimize performance

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

Read/Write Separation

A

Directing read operations to secondary nodes and write operations to the primary node in a MongoDB replica set to isolate workloads and improve performance

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

Dedicated Workload Clusters

A

Using separate MongoDB clusters or replica sets for distinct workloads (e.g. one for OLTP, another for analytics) to ensure resource isolation

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

OLTP

A

Online Transaction Processing

A workload type focused on high speed, transactional operations (e.g. inserts, updates), requiring low latency and high availability

17
Q

OLAP

A

Oline Analytical Processing

Workload type focused on complex queries and data anlysis, often requiring significant compute resources and isolated from transactional workloads

18
Q

Analytics Node

A

A dedicated secondary node in a MongoDB replica set configured for analytical queries, isolating resource intensive OLAP workloads from transactional operations

19
Q

Zone Sharding

A

MongoDB sharding strategy that assigns data to specific shards based on tags, enabling workload isolation by directing queries to designated shards

20
Q

Resource Contention

A

Competition for system resouces (CPU, memory, disk) between workloads, mitigated through workload isolation techniques like read/write separation or dedicated clusters