Skip to main content

Book review: The Apache Ignite book by Md Sadruddin

The book review was done by Md Sadruddin and publish on his web site itteratory.com. The part of the review is published here with permission by Md Sadruddin.

Last year, as I was working with Apache Ignite, I was desperately in search of a book that I could rely upon in terms of clearing my doubts. A book that would help me learn the product in a holistic manner. And as my search was on, I bumped into the book by Shamim Ahmed Bhuiyan, Michael Zheludkov, and Timur Isachenko. I was super impressed with it as I scanned through the book. I also put up a review of that version of the book here.


The product Apache Ignite has been evolving in a rapid speed. It introduced many new features, different architectural revamp etc as the new versions were released. But as the new features got added with the newly released versions, there came a need of the new version of the book covering these new features. I found out Shamim Ahmed Bhuiyan and Michael Zheludkov are already on their mission to release a new edition of the book. I was eagerly waiting for the same to be released. I scanned through the book as soon as I got hold of it. Here, in this blog, I’ll share my personal experience as I browsed through the book.


With the newer versions, the products evolved and gave tons of new features to explore and work on.
As I have already gone through the first version of the book, I thought of turning to new one again to update myself and gather an all-around knowledge about the new features, new architecture etc instead of relying only on the Ignite official documentation (which is a great knowledge center as well. No doubt!). This new book is excellent and it pleasantly caters to both developers and solution/technical architects community with utmost ease.
In this new version of the book, there are 10 chapters. In the very first chapter of "Introduction", the authors introduced the product, its evolution since its inception and comparison with other different products.


In the second chapter "Getting started with Apache Ignite", we get to know how to starta single node/multi-nodes Ignite instances. We get to learn how we can use docker to run Ignite instances. It also takes us through setting up SQL IDE where you can run SQL queries against cache. It also touches upon Apache Ignite SQLLINE cli. This chapter introduces us with the H2 database which is Ignite’s SQL engine. It also teaches us on how to use H2 web console. We can use this web console to administrate H2 database, run SQL queries etc. It also takes us through sample JAVA program to read/write from/to Ignite cache. It touches upon Apache Ignite thin client, REST API for manipulating cache.

In the third chapter called "Apache Ignite Use cases", the book introduces different possible use cases where Ignite can be used, various design decisions. This is a very helpful guide to the solution designers. 
After covering these basics, the authors then jump to the fourth chapter called "Architectural deep dive". It’s a long and massive chapter covering cluster topology, partitioning, replication strategy, different caching strategy etc. It covers Ignite’s positioning in the CAP triangle. It also covers durable memory architecture, paging, persistence feature and many other very useful features of the Ignite product. All in all, this chapter covers your need as an architect or solution designer. 
In the next chapter (fifth) called "Intelligent caching", the book details Ignite’s caching capabilities, use of this product for accelerating application performance. It covers many interesting topics like web session clustering, recommendation on preparing caching layer, best practices. It also presents many interesting examples. 
In the sixth chapter called "Database", the book details on the Ignite’s database features. This is also a long chapter covering Ignite native persistence, tables, indexes, joins and a plethora of other related concepts. As a solution designer, this is definitely one chapter that you will spend time on, in case you plan to use Ignite’s persistence feature i.e using Ignite as a database. 
In chapter seven, the book covers "Distributed computing" and touches upon how Ignite can be useful in modern day architectures like micro-services. It covers map-reduce, fork-join, collocation of computation and data. Another very useful chapter. 
In the eighth chapter, the book covers another big elephant topic "Streaming and complex event processing". Here authors details Ignite’s streaming and CEP capability and use cases where it can be used. 
In the next chapter nine, the book focuses on Ignite’s use in "Accelerating Big data computing" with good examples. 
In the final chapter ten, the book covers an essential topic on "Management and monitoring". It talks about Ignite’s built-in capabilities and also 3rd party tools that can be used to manage and monitor the Ignite cluster.
As in the previous version, one striking aspect of the book is its easy language. I also loved the way the authors explained various terminologies and jargon that are used in this book. As I read through the book, I had several design related questions and got the answers from the book itself. The book is self contained and I didn’t have to browse through the internet to understand different topics/concepts introduced by the authors. Real life examples and code fragments help explain different concepts and topics very easily. The code is also available in github for reference. You code as you read and that’s very cool!! The balance of theory, coding, examples make reading the book very fun filled and enlightening. You don’t get bored!
To conclude, this book has been very handy to me and the reading experience is fantastic. I definitely recommend this book to Ignite users; doesn’t matter if you are a developer, support team member, architect or solution designed. Everyone has got something or other to learn from this book and that too in an easy manner. All I can say is happy reading!! and comment below in case you have some questions on the book or just to share how your experience have been.
The book is currently available in the leanpub. You can check it out here.

Comments

Popular posts from this blog

Tip: SQL client for Apache Ignite cache

A new SQL client configuration described in  The Apache Ignite book . If it got you interested, check out the rest of the book for more helpful information. Apache Ignite provides SQL queries execution on the caches, SQL syntax is an ANSI-99 compliant. Therefore, you can execute SQL queries against any caches from any SQL client which supports JDBC thin client. This section is for those, who feels comfortable with SQL rather than execute a bunch of code to retrieve data from the cache. Apache Ignite out of the box shipped with JDBC driver that allows you to connect to Ignite caches and retrieve distributed data from the cache using standard SQL queries. Rest of the section of this chapter will describe how to connect SQL IDE (Integrated Development Environment) to Ignite cache and executes some SQL queries to play with the data. SQL IDE or SQL editor can simplify the development process and allow you to get productive much quicker. Most database vendors have their own fron...

8 things every developer should know about the Apache Ignite caching

Any technology, no matter how advanced it is, will not be able to solve your problems if you implement it improperly. Caching, precisely when it comes to the use of a distributed caching, can only accelerate your application with the proper use and configurations of it. From this point of view, Apache Ignite is no different, and there are a few steps to consider before using it in the production environment. In this article, we describe various technics that can help you to plan and adequately use of Apache Ignite as cutting-edge caching technology. Do proper capacity planning before using Ignite cluster. Do paperwork for understanding the size of the cache, number of CPUs or how many JVMs will be required. Let’s assume that you are using Hibernate as an ORM in 10 application servers and wish to use Ignite as an L2 cache. Calculate the total memory usages and the number of Ignite nodes you have to need for maintaining your SLA. An incorrect number of the Ignite nodes can become a b...

Load balancing and fail over with scheduler

Every programmer at least develop one Scheduler or Job in their life time of programming. Nowadays writing or developing scheduler to get you job done is very simple, but when you are thinking about high availability or load balancing your scheduler or job it getting some tricky. Even more when you have a few instance of your scheduler but only one can be run at a time also need some tricks to done. A long time ago i used some data base table lock to achieved such a functionality as leader election. Around 2010 when Zookeeper comes into play, i always preferred to use Zookeeper to bring high availability and scalability. For using Zookeeper you have to need Zookeeper cluster with minimum 3 nodes and maintain the cluster. Our new customer denied to use such a open source product in their environment and i was definitely need to find something alternative. Definitely Quartz was the next choose. Quartz makes developing scheduler easy and simple. Quartz clustering feature brings the HA and...