Lambda Architecture

Learn about the lambda architecture in distributed systems.

In this chapter, the two patterns we have seen so far are pretty simple in terms of conceptual understanding. In this lesson, we will explore a more complicated architectural pattern called lambda architecture. It is an architecture suitable for many data-heavy systems.

Let’s dive in.

Lambda architecture overview

Like many of our previous lessons, we will discuss architecture with an example. Let’s look at the following scenario.

  • We are building the backend system for an IoT device producing company with a large user base.

  • The company needs real-time analytics on the performance and usage of its devices. But it’s okay to have a small fraction of inaccuracy in this case.

  • On the other hand, the company also requires 100% accurate analytics on the data. But this requirement does not have to be fulfilled in real-time. In fact, for this use case, generating daily or weekly reports is sufficient. But note that there should not be any ...