High Performance in-memory computing with Apache Ignite (The Book with code samples)


This book is no longer available for sale.

High Performance in-memory computing with Apache Ignite

Building low latency, near real time application

About the Book

A new title "The Apache Ignite Book" is published and available at LeanPub.

"As one of the original creators of the Apache Ignite project, I really enjoyed reading this book. The coding examples are nice and descriptive. Ignite components are described in an easy to understand language. Great work by the authors!" -- Dmitriy Setrakyan, founder of the Apache Ignite project.
  • Share this book

  • Categories

    • Computers and Programming
    • Java
    • Databases
    • Software Engineering
    • Software Architecture
  • Feedback

    Email the Author(s)

About the Editors

Shamim Bhuiyan
Shamim Ahmed Bhuiyan

received his Ph.D. in Computer Science from the University of Vladimir, Russia in 2007. He is 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”

Timur Isachenko
Timur Isachenko

Timur Isachenko is a Full Stack Developer working for AT-Consulting, passionate about web development and solving a wide variety of related challenges.

Timur spends his time learning cutting-edge technologies every day to make the best developer out himself.

Table of Contents

  • Preface
    • What this book covers
    • Code Samples
    • Support
  • About the authors
  • Acknowledgments
  • Introduction
    • What is Apache Ignite?
    • Modern application architecture with Apache Ignite
    • Who uses Apache Ignite?
    • Why Ignite instead of others?
    • Our Hope
  • Chapter one: Installation and the first Ignite application
    • Pre-requisites
    • Installation
    • Run multiple instances of Apache Ignite in a single host
    • Configure a multi-node cluster in different host
    • Rest client to manipulate with the Apache Ignite
    • Java client
    • SQL client
    • Conclusion
    • What’s Next
  • Chapter two: Architecture overview
    • Functional overview
    • Cluster Topology
      • Client and Server
      • Embedded with the application
      • Server in separate JVM (real cluster topology)
      • Client and Server in separate JVM on single host
    • Caching Topology
      • Partitioned caching topology
      • Replicated caching topology
      • Local mode
    • Caching strategy
      • Cache-aside
      • Read-through and Write-through
      • Write behind
    • Data model
    • CAP theorem and where does Ignite stand in?
    • Clustering
      • Cluster group
      • Data collocation
      • Compute collocation with Data
      • Zero SPOF
    • How SQL queries works in Ignite
    • Multi-datacenter replication
    • Asynchronous support
    • Resilience
    • Security
    • Key API
    • Conclusion
    • What’s next
  • Chapter three: In-memory caching
    • Apache Ignite as a 2 level cache
      • MyBatis 2 level cache
      • Hibernate 2 level cache
    • Java method caching
    • Web session clustering with Apache Ignite
    • Apache Ignite as a big memory, off-heap memory
    • Conclusion
    • What’s next
  • Chapter four: Persistence
    • Persistence Ignite’s cache
      • Persistence in RDBMS (PostgreSQL)
      • Persistence in MongoDB
    • Cache queries
      • Scan queries
      • Text queries
    • SQL queries
      • Projection and indexing with annotations
      • Query API
      • Collocated distributed Joins
      • Non-collocated distributed joins
      • Performance tuning SQL queries
    • Apache Ignite with JPA
    • Apache Ignite with Spring Data
    • Expiration & Eviction of cache entries
      • Expiration
      • Eviction
    • Transaction
      • Ignite transactions
      • Transaction commit protocols
      • Optimistic Transactions
      • Pessimistic Transactions
      • Performance impact on transaction
    • Conclusion
    • What’s next
  • Chapter five: Accelerating Big Data computing
    • Hadoop accelerator
      • In-memory Map/Reduce
      • Using Apache Pig for data analysis
      • Near real-time data analysis with Hive
      • Replace HDFS by Ignite In-memory File System (IGFS)
      • Hadoop file system cache
    • Ignite for Apache Spark
      • Apache Spark – an introduction
      • IgniteContext
      • IgniteRDD
      • Preparing the sandbox
      • Spark-shell to run Spark jobs
      • Spark application example in Scala to share states
    • Conclusion
    • What’s next
  • Chapter six: Streaming and complex event processing
    • Introducing data streamer
    • IgniteDataStreamer
      • StreamReceiver
      • StreamVisitor
    • Camel data streamer
      • Direct Ingestion
      • Mediated Ingestion
    • Flume streamer
    • Storm data streamer
    • Conclusion
    • What’s next
  • Chapter seven: 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
    • Conclusion

The Leanpub 60 Day 100% Happiness Guarantee

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

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

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. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub