Book Review: Instant Vert.x
Your first question might be, "What is Vert.x"? From its web site,
Vert.x is a lightweight, high performance application platform for the JVM that’s designed for modern mobile, web, and enterprise applications.
With that out of the way, so you’ll have an idea of what’s being discussed (and thus be able to decide if you care to keep reading :), let’s turn to the book. The book starts off with an introduction much more robust than what I just gave. :) The author gives a good description of what the platform offers, as well as a good introduction to some of the basic terms associated with Vert.x.
The next two chapters walk the reader through writing simple, but complete implementations (meaning working, but not necessarily feature-rich or robust) of a web server and an "IRC-style" chat server. The chat server example is a bit more complex than the web server, due, in part, to the more complex nature of the system, introducing handler functions and a pub/sub even bus.
The next-to-last chapter discusses the "top 8 features you need to know about":
HTTP server, HTTP clients and event bus
Transport layer security (SSL) for HTTP
Asynchronous requests with SockJS-based EventBus bridge
EventBus bridge: breaking out of the request-response model
Using all the cores - multiple instances and shared data
Cache max size and eviction policies
Scaling out - clustering
Creating a module
Installing third-party modules
Finally, we end with a list of people and places you should get to know.
With all that said, my take on the book: Not knowing anything about Vert.x when I started this book, I really enjoyed it’s brevity, and it’s pace. There seems to be a tendency with technical books to jump straight to the gory details of subject (for which there is a time and place :), leaving newcomers a bit dazed and confused. This book, though, as I’m sure all the books in Packt’s "Instant" series are designed to do, gives a great, surface-level introduction to the technology, explaining just enough to get you going. Now, having read the book and having a better, high-level understanding of what Vert.x is, I feel better-prepared to start digging through it’s web site or a bigger, more complete text on the subject.
On a nontechnical note, the text also could have used a little better editing. There were some parts of the text that read really oddly. Those tend to jump out at me and give me a bit of heartburn (I know. I’m sure regular readers of my blog are currently forming the word "kettle" in their minds ;). That kind of thing may or may not be an issue for you, but, in case it is, you’ve been warned. Lastly, the Kindle edition (and I’m sure the print edition, as well) just ends. No summary, etc. I found myself wildly swiping and poking at my tablet trying to find the next page before I realized there wasn’t one. Neither of these "issues" are real problems, of course, but I mention them just to be a fair.
Overall, I enjoyed the book. The examples were clean and small, and the explanations of what was being done and why were sufficient to help me understand what was going on. While all of the topics in the book can be found for free on the internet (as with every technical book), it’s nice to have all of those ideas aggregated in one place, and this is a good place to start if you’re interested in Vert.x.