System Design & Architecture Flashcards

(20 cards)

1
Q

Monolithic Architecture

A

Single executable;
simpler deployment but less flexible and harder to scale.

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

Event-driven Architecture

A

Components communicate via events/messages;
fits market data handling and reactive trading engines.

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

Service-Oriented Architecture
(SOA)

A

Services expose interfaces via well-defined protocols;
emphasizes interoperability.

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

Message/Event Bus

A

Central channel for decoupled components to publish/subscribe messages

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

Publish/Subscribe
(Pub/Sub)

A

Decouples producers and consumers

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

Ring Buffer

A

Data structure for buffering messages/events

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

Horizontal Scaling

A

Adding more machines or processes to handle load

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

Vertical Scaling

A

Increasing resources (CPU, memory) in a single node

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

Partitioning

A

Splitting data across multiple processing units

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

Load Balancing

A

Distributing requests/messages evenly across workers to maximize throughput.

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

Batching

A

Aggregating multiple operations to reduce overhead and improve throughput.

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

Idempotency

A

Operations can be repeated safely without changing result

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

Transmission Control Protocol
(TCP)

A

Reliable, ordered, connection-oriented protocol; ensures all packets arrive and in order.
Used for order routing or critical data transfer.

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

User Datagram Protocol
(UDP)

A

Fast Unreliable, connectionless protocol; no guarantee of delivery or order.
Commonly used for market data feeds in low-latency systems.

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

Inter-Process Communication
(IPC)

A

Mechanisms for processes to exchange data

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

SQL
(Structured Query Language)

A

Relational database querying language.

Good for structured, transactional data (positions, trades).

17
Q

NoSQL

A

Non-relational databases;
optimized for large-scale, flexible data storage.

Examples: key-value stores for caching, document stores for logs.

18
Q

Data Lake

A

Centralized repository for raw, unstructured or semi-structured data;

used for analytics, historical market data storage.

19
Q

Data Warehouse

A

Structured storage optimized for reporting and analytics;

often built on cleaned, processed data for dashboards or regulatory reporting.

20
Q

Real-time

A

Systems or processes that respond with minimal latency, often deterministic