Book Image

Apache Ignite Quick Start Guide

By : Sujoy Acharya
Book Image

Apache Ignite Quick Start Guide

By: Sujoy Acharya

Overview of this book

Apache Ignite is a distributed in-memory platform designed to scale and process large volume of data. It can be integrated with microservices as well as monolithic systems, and can be used as a scalable, highly available and performant deployment platform for microservices. This book will teach you to use Apache Ignite for building a high-performance, scalable, highly available system architecture with data integrity. The book takes you through the basics of Apache Ignite and in-memory technologies. You will learn about installation and clustering Ignite nodes, caching topologies, and various caching strategies, such as cache aside, read and write through, and write behind. Next, you will delve into detailed aspects of Ignite’s data grid: web session clustering and querying data. You will learn how to process large volumes of data using compute grid and Ignite’s map-reduce and executor service. You will learn about the memory architecture of Apache Ignite and monitoring memory and caches. You will use Ignite for complex event processing, event streaming, and the time-series predictions of opportunities and threats. Additionally, you will go through off-heap and on-heap caching, swapping, and native and Spring framework integration with Apache Ignite. By the end of this book, you will be confident with all the features of Apache Ignite 2.x that can be used to build a high-performance system architecture.
Table of Contents (9 chapters)

Working with Data Grids

So far we learned about Apache Ignite architecture, caching styles, and clustering topology. Caching can be used in the UI layer to serve static content, and a JVM-level local cache can be configured to access the frequently used objects or query results. However, a distributed cache can act as an in-memory data store and move the data closer to the application. The data grid is an abstraction of a distributed cache as a data store. In this chapter, we will explore Apache Ignite's data grid concept and build a highly available web application with Ignite Session Clustering. All user sessions will be stored in a data grid and we will use the Ignite tools to view the user sessions in the grid. The following topics will be covered:

  • Exploring the Data Grid
  • Configuring the Data Grid
  • Web Session Clustering