Chapter 2. Dissecting the SMACK Stack
In Chapter 1, we discussed the high-level characteristics of a Fast Data platform and applications running on top of it. In each of the three areas—data sources, processing, and data sinks—trade-offs are introduced by the various technologies available today. How do we make the right choices? To answer that question, let’s explore a successful Fast Data application architecture.
The SMACK Stack
The SMACK stack is Spark, Mesos, Akka, Cassandra, and Kafka:
- S: Spark
-
A distributed processing engine capable of batch and streaming workloads
- M: Mesos
-
A cluster manager, also known as a “scheduler” that abstracts out resources from applications
- A: Akka
-
A highly concurrent and distributed toolkit for building message-driven applications
- C: Cassandra
-
A distributed, highly scalable, table-oriented NoSQL database
- K: Kafka
-
A streaming backend based on a distributed commit log
The SMACK stack is a distributed, highly scalable platform for building Fast Data applications based on business-friendly open source technologies. To learn more about the SMACK stack, Patrick McFadin’s post is a good starting point.
The SMACK stack became popular because it offered an integration blueprint for implementing a Fast Data architecture, using open source components that shared similar scalability characteristics.
Their common denominator is distributed. Distributed partitions of a Kafka topic could be consumed by Spark tasks running in parallel in several ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access