Book Image

Fast Data Processing Systems with SMACK Stack

By : Raúl Estrada
Book Image

Fast Data Processing Systems with SMACK Stack

By: Raúl Estrada

Overview of this book

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.
Table of Contents (15 chapters)
Fast Data Processing Systems with SMACK Stack
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Singularity


Singularity key points are as follows:

  • Acts as an API and a web application
  • Conceived at HubSpot and later open sourced under Apache license
  • Used to launch and schedule long-running Mesos processes, scheduled jobs, and tasks
  • All its components can be considered as a PaaS to end users
  • Non-experimented users can use it to deploy tasks on Mesos without so much knowledge
  • Shares Mesos features such as fault tolerance, scalability, and resource allocation
  • Can run a task scheduler for other Mesos frameworks

Singularity installation

To install Singularity we need to have Docker installed, to do it follow the steps at:

https://docs.docker.com

Once installed, clone the singularity repository with this command:

$ git clone https://github.com/HubSpot/Singularity 

Change the singularity directory:

$ cd Singularity 

Now, use Docker Compose pull and up commands to test Singularity.

These commands set up the following in the container:

  • Mesos master and slave
  • Zookeeper
  • Singularity
  • Baragon service and Baragon...