The Apache Ignite book
The Apache Ignite book (The Book with code samples)
Minimum price
Suggested price
The Apache Ignite book

This book is 85% complete

Last updated on 2018-12-12

About the Book

This book is addressed to anyone interested in learning in-memory computing and distributed database. It is useful for developers and architects new to Apache Ignite as well as those who already use any other in-memory databases and want to expand their knowledge.

What you will learn:

  1. Apache Ignite architecture in depth such as data distributing technics (DHT), Rendezvous hashing, memory architecture, various topology and caching strategies.
  2. Apache Ignite use cases as a memory-centric distributed database, caching and computing platforms.
  3. Caching strategies and how to use Apache Ignite to improve the performance of the application.
  4. Using JPA (Spring Data and Hibernate OGM) with Apache Ignite for developing high-performance web applications.
  5. Ignite query (SQL, API, Text and Scan queries) capabilities in depth.
  6. How to accelerates the performance of your existing Hadoop ecosystem without changing any code.
  7. How to use Spark RDD and Data frames for improving performance on processing fast data.
  8. How to develop Hybrid Transaction and Processing (HTAP) class systems based on Apache Ignite.
  9. Developing distributed Microservices in fault-tolerant fashion.
  10. Processing events & streaming data for IoT projects, integrate Apache Ignite with other frameworks like Kafka, Storm, Camel, etc.
  11. Configuring, management and monitoring Ignite cluster with built-in and 3rd party tools.

The book covers Ignite version 2.6.0 and above. For every topic, a complete application is delivered, which helps the audience to a quick start with the topic. Each chapter focuses on the complete implementation of a real-world scenario, the commonly occurring challenges in each scenario have also discussed, along with tips and tricks and best practices on how to overcome them.

This book is a lean publishing book. You buy once, and you will receive free updates every time the next version is published. When the book is completed an old-fashioned paperback version of the book will be published.


The target audience of this book will be IT architect, team leaders or programmer with minimum programming knowledge. No excessive knowledge is required, though it would be good to be familiar with Java, Spring framework and tools like Maven. The book is also useful for any reader, who already familiar with Oracle Coherence, Hazelcast, Infinispan or Memcached.

If you are not sure if this book is for you, I suggest you read the sample chapter of the book. The sample chapter is available in different formats including HTML. Anyway, I encourage you to try it out, and if you don't like the book, you can always ask a 100% refund within 45 days.

Source code of the book available at GitHub

Learn more about Apache Ignite at: & follow on twitter @shamim_ru

We need your feedback!

This book is in progress. We would like to hear what you think, what you like or dislike about the content of the book. Your feedback will help us to write a better book and help others to clear all the concepts. To submit your feedback, please use the feedback link below.

About the Authors

Shamim Ahmed
Shamim Ahmed

Currently working as an Enterprise architect, where he is responsible for designing and building out high scalable, high load middleware solutions. He has been in the IT field for over 16 years and specialized in Java and Data science. Also, he is a former SOA solution designer, speaker, and Big data evangelist. Actively participates in the development and designing high-performance software for IT, telecommunication and banking industry. In spare times, he usually writes the blog frommyworkshop and shares ideas with others. 

Michael Zheludkov
Michael Zheludkov

Graduated from the Bauman Moscow State Technical University in 2002. Master's degree in computer science.

Lecturer at BMSTU since 2013, delivering course “Parallel programming and distributive systems”


The Book with code samples
  • English

  • PDF

  • EPUB

  • MOBI

  • APP

Minimum price
Suggested price
Pack of 3 copies for a team
  • English

  • PDF

  • EPUB

  • MOBI

  • APP

Minimum price
Suggested price

Table of Contents

  • About the authors
  • Chapter 1. Introduction
  • Chapter 2. Getting started with Apache Ignite
    • Installing and setting up Apache Ignite
      • Building from source code
    • Run multiple instances of Apache Ignite in a single host
    • Running Apache Ignite from Docker
    • Using Apache Ignite SQLLINE CLI
    • Meet with Apache Ignite SQL engine: H2 database
    • Using a universal SQL client IDE to work with Apache Ignite
    • First Java application
    • Apache Ignite thin client
    • Using REST API for manipulating the Apache Ignite caches
    • Configure a multimode cluster in different hosts
    • A simple checklist for beginners
    • Summary
    • What’s next
  • Chapter 3. Apache Ignite use cases
    • Caching for fast data access
    • HTAP
    • High-volume transaction processing
    • Fast data processing
    • Lambda architecture
    • Resilient web acceleration
    • Microservices in distributed fashion
    • Cache as a service
    • Big Data accelerations
    • In-memory machine learning
    • In-memory geospatial
    • Cluster management
    • Summary
    • What’s next
  • Chapter 4. Architecture deep dive
    • Functional overview
    • Understanding the cluster topology: shared nothing architecture
      • Client and server node
      • Embedded with the application
      • Client and the server nodes in the same host
      • Running multiple nodes within single JVM
      • Real cluster topology
    • Data partitioning in Ignite
      • Understanding data distribution: DHT
      • Rendezvous hashing
      • Replication
      • Master-Slave replication
      • Peer-to-peer replication
      • Partitioned mode
      • Replicated mode
      • Local mode
      • Near cache
      • Partition loss policies
    • Caching strategy
      • Cache a-side
      • Read through and write through
      • Write behind
    • Ignite data model
    • CAP theorem and where does Ignite stand in?
    • Apache Ignite life cycle
    • Memory-Centric storage
    • Durable memory architecture
      • Page
      • Data Page
      • Index pages and B+ trees
      • Segments
      • Region
      • Data eviction
        • Page based eviction
        • Entry based eviction
      • Data expiration
      • Ignite read/write path
    • Native persistence
      • Write-Ahead-Log (WAL)
      • Checkpointing
    • Baseline topology
      • Automatic cluster activation
      • Split-brain protection
      • Fast rebalancing and it’s pitfalls
      • Tool to control baseline topology
      • Automate the rebalancing
    • Discovery and communication mechanisms
      • Discovery
      • Communication
    • Cluster groups
      • Predefined cluster group
      • Cluster group with node attributes
      • Custom cluster group
    • Data collocation
    • Compute collocation with data
    • Protocols and clients
    • Resilience & Automatic failover
      • Ignite client node
      • Ignite thin client
      • JDBC client
      • Ignite Rest client
    • Multi data center replication
    • Key API’s
  • Chapter 5. Intelligent caching
    • Smart caching
      • Caching best practices
      • Design patterns
      • Basic terms
    • Database caching
      • Hibernate caching
      • MyBatis caching
    • Memoization
    • Web session clustering
      • Classic solution 1: using a sticky session
      • Classic solution 2: store sessions in DB
      • Classic solution 3: use only stateless service
      • Distributed web session clustering
    • Prepare the caches correctly
    • Summary
    • What’s next
  • Chapter 6. Database (in progress)
    • Ignite tables & indexes configuration
    • Ignite queries
      • SQL queries
      • Query API
        • SqlFieldsQuery
        • SqlQuery
      • How SQL queries works in Ignite
      • Cache queries
        • Scan queries
        • Text queries
      • Affinity collocation based data modeling
      • Collocated distributed joins
      • Non-collocated distributed joins
    • Spring Data integration
    • Apache Ignite with JPA (TBD)
    • Persistence (TBD)
      • Native persistence
      • Persistence in NoSQL
      • Persistencr in RDBMS
    • Summary
  • Chapter 7. Distributed computing
    • Compute grid
      • Distributed Closures
      • MapReduce and Fork-join
      • Per-Node share state
      • Distributed task session
      • Fault tolerance and checkpointing
      • Collocation of computation and data
      • Job scheduling
    • Service Grid
      • Developing services
      • Cluster singleton
      • Service management and configuration
    • Developing microservices in Ignite
    • Summary
    • What’s next
  • Chapter 8. Streaming and complex event processing
    • Kafka Streamer
      • IgniteSinkConnector
      • IgniteSourceConnector
    • Camel Streamer
      • Direct Ingestion
      • Mediated Ingestion
    • Flume sink
    • Storm streamer
    • Summary
    • What’s next
  • Chapter 9. Accelerating BigData computing (in progress)
    • Ignite for Apache Spark
      • Apache Spark – a short history
      • Ignite RDD
      • Ignite DataFrame
  • Chapter 10. Management and monitoring
    • Managing Ignite cluster
      • Configuring Zookeeper discovery
      • Managing Baseline topology
    • Monitoring Ignite cluster
      • VisualVM
      • Grafana

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub