The Apache Ignite book (The Book with code samples)
The Apache Ignite book
The next phase of the distributed systems
About the Book
The paperback version of the book is available on Lulu (the best option for purchasing from Europe, also there are always some discounts) & Amazon.
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.
This is one of the very few good books on Apache Ignite. It covers the whole spectrum of Ignite. From use-cases and architecture till maintenance and code examples to get your hands dirty. If you want one book to get it all, this is it!
-- Edward Kuenen, Netherlands
This book has been very handy to me and the reading experience is fantastic. The balance of theory, and coding examples make reading the book very fun-filled and enlightening. You don't get bored! I definitely recommend this book to Ignite users; doesn’t matter if you are a developer, support team member, architect or a solution designer. Everyone has got something to learn from this book.
-- Sadruddin Md, technology enthusiast
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.
We upload a PDF file that has color images of the diagrams used in this book. You can download it here https://bit.ly/36Mw0y9
What you will learn (please see the table of contents below for more details):
- Apache Ignite architecture in depth such as data distributing technics (DHT), Rendezvous hashing, durable memory architecture, various cluster topologies, Ignite native persistence, Baseline topology, and much more.
- Apache Ignite proven use cases as a memory-centric distributed database, caching, and computing platforms.
- Getting started with Apache Ignite by using different tools and technics.
- Caching strategies by examples and how to use Apache Ignite for improving application performance including Hibernate L2 cache, MyBatis, Memoization, and Web session clustering.
- Using Spring Data and JPA (Hibernate OGM) with Apache Ignite for developing high-performance web applications.
- Ignite query (SQL, API, Text, and Scan queries) capabilities in depth.
- Using Spark RDD and Data frames for improving performance on processing fast data.
- Developing and executing distributed computations in a parallel fashion to gain high performance, low latency, and linear scalability.
- Developing distributed Microservices in fault-tolerant fashion.
- Processing events & streaming data for IoT projects, integrate Apache Ignite with other frameworks like Kafka, Storm, Camel, etc.
- Real-time data Replication between Ignite clusters through Kafka.
- 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.
Readership:
The target audiences of this book will be an IT architect, team leader, 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.
The source code of the book is available at GitHub
Learn more about Apache Ignite from the author at http://frommyworkshop.blogspot.com DZone or JavaCodeGeeks & follow on twitter @shamim_ru
We need your feedback!
We would like to hear what you think, what you like or dislike 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.
Packages
The Book with code samples
English
PDF
EPUB
MOBI
WEB
Pack of 3 copies for a team
English
PDF
EPUB
MOBI
WEB
Reader Testimonials
Edward Kuenen
Government, Netherlands
This is one of the very few good books on Apache Ignite. It covers the whole spectrum of Ignite. From use-cases and architecture till maintenance and code examples to get your hands dirty. If you want one book to get it all, this is it!
Sadruddin Md, technology enthusiast
This book has been very handy to me and the reading experience is fantastic. The balance of theory, coding, examples make reading the book very fun-filled and enlightening. You don't get bored! I definitely recommend this book to Ignite users; doesn’t matter if you are a developer, support team member, architect or a solution designer. Everyone has got something or other to learn from this book.
Manoj GT
When it comes to Ignite, you have very less number of books to choose from, and by far this is the best book you will get. The Author has explained all the topics in a straightforward and understanding way with a working example for each. I have started with zero knowledge of Ignite, and now I'm able to build many working projects using Ignite due to the learning I got from this book. Big thanks to the author for writing this excellent book.
Table of Contents
-
Preface
- What this book covers
- Code Samples
- Readership
- Conventions
- Reader feedback
- About the authors
- Acknowledgments
- Chapter 1. Introduction
-
Chapter 2. Getting started with Apache Ignite
-
Installing and setting up Apache Ignite
- Building from source code
- Running multiple instances of the Apache Ignite in a single host
- Running Apache Ignite in Docker containers
- 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
- Configuring a multi-node Ignite cluster in different hosts
- A simple checklist for beginners
- Summary
- What’s next?
-
Installing and setting up Apache Ignite
-
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
- Summary
- What’s next?
-
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?
-
Smart caching
-
Chapter 6. Database
- 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
-
Persistence
- Native persistence
- Persistence in 3 party database (MongoDB)
-
Transaction
- Ignite transactions
- Transaction commit protocols
- Node types (NearNode/Remote/DHT)
- Concurrency Modes and Isolation Levels
- MVCC
- Performance impact on transaction
- Summary
- What’s next?
-
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 Apache Ignite
- Summary
- What’s next?
-
Compute grid
-
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?
-
Kafka Streamer
-
Chapter 9. Accelerating Big data computing
-
Ignite for Apache Spark
- Apache Spark – a short history
- Ignite RDD
- Ignite DataFrame
- Summary
- What’s next?
-
Ignite for Apache Spark
-
Chapter 10. Management and monitoring
-
Managing Ignite cluster
- Configuring Zookeeper discovery
- Managing Baseline topology
-
Monitoring Ignite cluster
- VisualVM
- Grafana
- Summary
-
Managing Ignite cluster
Other books by these authors
Authors have earned$9,882,857writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
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
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), EPUB (for phones and tablets) and MOBI (for 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
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in Charge
Alexis Monville and Michael DoyleI am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Invest In Digital Health - The Medical Futurist's Guide
Dr. Bertalan MeskoArtificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
The Hundred-Page Machine Learning Book
Andriy BurkovEverything you really need to know in Machine Learning in a hundred pages.
Mastering STM32
Carmine NovielloWith more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #3
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #4
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #5
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #6
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #7
Programming with Ease
3 Books
Alle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus... - #8
Vagrant Ansible
2 Books
Unveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your... - #9
Mastering Containers
2 Books
Docker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes! - #10
Growing Agile: The Complete Coach's Guide
7 Books
Growing Agile: Coach's Guide Series This bundle provides a collection of training and workshop plans for a variety of agile topics. The series is aimed at agile coaches, trainers and ScrumMasters who often find themselves needing to help teams understand agile concepts. Each book in the series provides the plans, slides, handouts and activity...