Book description
Combine the incredible powers of Spark, Mesos, Akka, Cassandra, and Kafka to build data processing platforms that can take on even the hardest of your data troubles!
About This Book
This highly practical guide shows you how to use the best of the big data technologies to solve your response-critical problems
Learn the art of making cheap-yet-effective big data architecture without using complex Greek-letter architectures
Use this easy-to-follow guide to build fast data processing systems for your organization
Who This Book Is For
If you are a developer, data architect, or a data scientist looking for information on how to integrate the Big Data stack architecture and how to choose the correct technology in every layer, this book is what you are looking for.
What You Will Learn
Design and implement a fast data Pipeline architecture
Think and solve programming challenges in a functional way with Scala
Learn to use Akka, the actors model implementation for the JVM
Make on memory processing and data analysis with Spark to solve modern business demands
Build a powerful and effective cluster infrastructure with Mesos and Docker
Manage and consume unstructured and No-SQL data sources with Cassandra
Consume and produce messages in a massive way with Kafka
In Detail
SMACK is an open source full stack for big data architecture. It is a combination of Spark, Mesos, Akka, Cassandra, and Kafka. This stack is the newest technique developers have begun to use to tackle critical real-time analytics for big data. This highly practical guide will teach you how to integrate these technologies to create a highly efficient data analysis system for fast data processing.
We’ll start off with an introduction to SMACK and show you when to use it. First you’ll get to grips with functional thinking and problem solving using Scala. Next you’ll come to understand the Akka architecture. Then you’ll get to know how to improve the data structure architecture and optimize resources using Apache Spark.
Moving forward, you’ll learn how to perform linear scalability in databases with Apache Cassandra. You’ll grasp the high throughput distributed messaging systems using Apache Kafka. We’ll show you how to build a cheap but effective cluster infrastructure with Apache Mesos. Finally, you will deep dive into the different aspect of SMACK using a few case studies.
By the end of the book, you will be able to integrate all the components of the SMACK stack and use them together to achieve highly effective and fast data processing.
Style and approach
With the help of various industry examples, you will learn about the full stack of big data architecture, taking the important aspects in every technology. You will learn how to integrate the technologies to build effective systems rather than getting incomplete information on single technologies. You will learn how various open source technologies can be used to build cheap and fast data processing systems with the help of various industry examples
Publisher resources
Table of contents
-
Fast Data Processing Systems with SMACK Stack
- Fast Data Processing Systems with SMACK Stack
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. An Introduction to SMACK
-
2. The Model - Scala and Akka
-
The language - Scala
- Kata 1 - The collections hierarchy
- Kata 2 - Choosing the right collection
- Kata 3 - Iterating with foreach
- Kata 4 - Iterating with for
- Kata 5 - Iterators
- Kata 6 - Transforming with map
- Kata 7 - Flattening
- Kata 8 - Filtering
- Kata 9 - Subsequences
- Kata 10 - Splitting
- Kata 11 - Extracting unique elements
- Kata 12 - Merging
- Kata 13 - Lazy views
- Kata 14 - Sorting
- Kata 15 - Streams
- Kata 16 - Arrays
- Kata 17 - ArrayBuffer
- Kata 18 - Queues
- Kata 19 - Stacks
- Kata 20 - Ranges
- The model - Akka
- Summary
-
The language - Scala
- 3. The Engine - Apache Spark
-
4. The Storage - Apache Cassandra
- A bit of history
- NoSQL
- Apache Cassandra installation
- Authentication and authorization (roles)
- Backup
- Recovery
- Spark-Cassandra connector
- Summary
-
5. The Broker - Apache Kafka
- Introducing Kafka
- Installation
- Cluster
- Architecture
- Producers
- Consumers
- Integration
- Administration
- Summary
-
6. The Manager - Apache Mesos
- The Apache Mesos architecture
- Resource allocation
- Running a Mesos cluster on AWS
- Running a Mesos cluster on a private data center
- Scheduling and management frameworks
- Apache Aurora
- Singularity
- Apache Spark on Apache Mesos
- Apache Cassandra on Apache Mesos
- Apache Kafka on Apache Mesos
- Summary
-
7. Study Case 1 - Spark and Cassandra
-
Spark Cassandra connector
- Requisites
- Preparing Cassandra
- SparkContext setup
- Cassandra and Spark Streaming
- Spark Streaming setup
- Cassandra setup
- Streaming context creation
- Stream creation
- Saving datasets to Cassandra
- Saving objects of Cassandra (user defined types)
- Scala options to Cassandra options conversion
- Saving RDDs as new tables
- Cluster deployment
- Spark Cassandra use cases
- Study case: The Calliope project
- Summary
-
Spark Cassandra connector
- 8. Study Case 2 - Connectors
- 9. Study Case 3 - Mesos and Docker
Product information
- Title: Fast Data Processing Systems with SMACK Stack
- Author(s):
- Release date: December 2016
- Publisher(s): Packt Publishing
- ISBN: 9781786467201
You might also like
book
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
Fluent Python, 2nd Edition
Don't waste time bending Python to fit patterns you've learned in other languages. Python's simplicity lets …
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd Edition
Through a recent series of breakthroughs, deep learning has boosted the entire field of machine learning. …