Book Image

Practical Real-time Data Processing and Analytics

Book Image

Practical Real-time Data Processing and Analytics

Overview of this book

With the rise of Big Data, there is an increasing need to process large amounts of data continuously, with a shorter turnaround time. Real-time data processing involves continuous input, processing and output of data, with the condition that the time required for processing is as short as possible. This book covers the majority of the existing and evolving open source technology stack for real-time processing and analytics. You will get to know about all the real-time solution aspects, from the source to the presentation to persistence. Through this practical book, you’ll be equipped with a clear understanding of how to solve challenges on your own. We’ll cover topics such as how to set up components, basic executions, integrations, advanced use cases, alerts, and monitoring. You’ll be exposed to the popular tools used in real-time processing today such as Apache Spark, Apache Flink, and Storm. Finally, you will put your knowledge to practical use by implementing all of the techniques in the form of a practical, real-world use case. By the end of this book, you will have a solid understanding of all the aspects of real-time data processing and analytics, and will know how to deploy the solutions in production environments in the best possible manner.
Table of Contents (20 chapters)
Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Introduction


We will discuss and implement a Geofencing use case as a case study. Geofencing is the use of the Global Positioning System (GPS) satellite network and/or local radio-frequency identifiers (such as WiFi nodes or Bluetooth beacons) to create virtual boundaries around a location. Geofencing is paired with software/hardware to detect the virtual boundary and take the appropriate action defined by the user. Most of the Geofencing use cases are solved with IOT. Real-time use cases based on Geofencing are:

  • Suppose your children took your car to buy goods from the market and you don't want them to go beyond 5 KM/Miles from your home or you want to know your kids/other family member's location on a map to track them
  • When you have put your car in for servicing and you want it not to go beyond 1 KM/Miles from the car service center
  • When you are approaching home, the garage gate opens automatically without having to get out of the car and manually open it by pushing/pulling it
  • When you are...