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

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...

Benchmarking high performance java collection framework

I am an ultimate fan of java high performance framework or library. Java native collection framework always works with primitive wrapper class such as Integer, Float e.t.c. Boxing and unboxing of wrapper class to primitive data type always decrease the java execution performance. Most of us, always looking for such a library or framework to works with primitive data type in collections for increasing performance of Java application. Most of the time i uses javolution framework to get better performance, however, this holiday i have read about a few new java collections frameworks and decided to do some homework benchmarking to find out, how much they could better than Java native collection framework. I have examine two new java collection framework, one of them are fastutil and another one are HPPC. For benchmarking i have used java JMH with mode Throughput. For benchmarking i took similar collection for java ArrayList, HashSet and HasMap from two above described frameworks. Col...

Apache Ignite Baseline Topology by Examples

Ignite Baseline Topology or BLT represents a set of server nodes in the cluster that persists data on disk. Where, N1-2 and N5 server nodes are the member of the Ignite clusters with native persistence which enable data to persist on disk. N3-4 and N6 server nodes are the member of the Ignite cluster but not a part of the baseline topology. The nodes from the baseline topology are a regular server node, that store's data in memory and on the disk, and also participates in computing tasks. Ignite clusters can have different nodes that are not a part of the baseline topology such as: Server nodes that are not used Ignite native persistence to persist data on disk. Usually, they store data in memory or persists data to a 3rd party database or NoSQL. In the above equitation, node N3 or N4 might be one of them. Client nodes that are not stored shared data. To better understand the baseline topology concept, let’s start at the beginning and try to understand its goal and what ...