Lambda Architecture Flashcards

Understand When to implement Lambda Architecture

1
Q

What is the Lambda architecture?

A

A data processing architecture designed to handle massive volumes of data by combining both batch and stream processing methods.

It consists of three layers: batch layer, speed layer, and serving layer.

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

What are the three layers of Lambda architecture?

A
  • Batch layer
  • Speed layer
  • Serving layer

Each layer has distinct responsibilities for data storage, processing, and insights.

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

What is the function of the batch layer in Lambda architecture?

A

To store and process historical data.

This layer handles large volumes of data accumulated over time.

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

What is the function of the speed layer in Lambda architecture?

A

To perform real-time data processing.

This layer allows for immediate insights from incoming data streams.

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

What is the function of the serving layer in Lambda architecture?

A

To merge results from the batch and speed layers and provide insights.

This layer acts as the interface for querying processed data.

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

What are the key benefits of using Lambda architecture?

A
  • Fault-tolerant
  • Scalable
  • Low-latency data processing solutions

These benefits make it suitable for handling large-scale data applications.

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

What is one major limitation of Lambda architecture?

A

Maintaining two pipelines in parallel.

This results in increased complexity and potential synchronization issues.

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

True or False: Lambda architecture requires data duplication.

A

True

Data duplication can lead to inefficiencies and increased costs.

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

What challenges arise from code changes in Lambda architecture?

A

Code changes must be made in two places, increasing complexity.

This can complicate the development and maintenance process.

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