Design efficient web and business solutions with RedisAbout This BookModel and design databases effectively in RedisLearn about sharding, indexing, and migrating strategies in RedisA simple step-by-step tutorial explaining the main concepts of Redis through practical examplesWho This Book Is ForThis book is for SQL developers who want to learn about Redis, the key value database for scalability and performance. Prior understanding of a programming language is essential; however no knowledge of NoSQL is required.
What You Will LearnFamiliarise yourself with NoSQL and install RedisBuild solutions and enhance your web applications in RedisUnderstand the persistent mechanism for better scalabilityConfigure and tune the server to improve performanceIdentify bottlenecks and how to handle fault management in RedisLearn about backups and recovery strategies for the Redis environmentDiscover the commands and functions of RedisIn DetailThis book will introduce Redis and help you understand its various facets.
Starting with an introduction to NoSQL, you will learn how to install Redis and how to classify and work with data structures. By working with real world scenarios pertaining to using Redis, you will discover sharding and indexing techniques, along with how to improve scalability and performance through persistent strategies and data migration techniques. With the help of multiple examples, you will learn to design web and business applications. You will also learn how to configure Redis for setting up clusters and tuning it for performance.
At the end of this book, you will find essential tips on backup and recovery strategies for the Redis environment.
I had a rough understanding of what Redis is, and before applying it in production I decided to read a book to get a better understanding. This book had an alright rating(4.0 on Goodreads) and was in Java, exactly what I was needed.
If there would be a book Understanding Redis, this will be the opposite of it. The author shies away from explanatory parts and sticks the code or diagrams whatever possible. As result, the book is clattered by unnecessary code and meaningless diagrams.
There is no clear audience for the author, he starts explaining data-types and Big O notations like for non-technical audience but then complementing it with analogies from Java language. As result, I believe it’s not readable for a non-technical person and definitely boring for a Software Engineer, even without any knowledge in Redis.
Most of the “learning” is just lists of commands with a brief description and “Execute the program and analyse the result yourself” note. The code examples are mostly are full listings of the programmes, with imports, getters/setters, System.out any other Java-specific stuff, probably to keep book long. In the end, it’s just a clutter of commands with brief text explaining what the program or command does. E. g. Chapter of “Redis in Web Applications” will just lead through the whole code of a simplified app author created. By “lead”, I mean will put the class listing and tell in one-two phrases what it does, in general terms. That’s all. Any documentation would provide better structured and explanatory information about Redis. Usually, books excel at explaining the idea, the use, the design patterns, best practices, building up the understanding of the technology. None of that here.
I bought a kindle version from Amazon, the GO-TO menu is not divided by chapters, which makes the book difficult to navigate, only by page or location.
I seldom rate books 1 star, even if I don’t like it, I try to find the prons to give it at least two stars, but I cannot call this a book. I wish I could give it 0 stars. The ratio of price vs value makes it nothing short then a scam, in my opinion.
And if anything above will not discourage you from reading it, worth note that the Redis 2.6 was used in the book. Which wasn’t the latest version even at the time of publishing.
Learning Redis is a great introduction to Redis with focus at how to utilize Redis efficiently. Before jumping in the book, I have to say to readers that the examples are in Java. This should not be a reason to turn a back. They're easy to follow and rewrite in whatever language you feel comfortable with. In my case I had no problem rewriting the examples in Ruby.
Starting with a small intro to Redis, the book moves to introducing various features and aspects of Redis. The standard documentation digested and ported in the book scenario is present in the first few chapters. To my relief, it ends around Chapter 5. The book expands beyond that!
The important chapters start from "Chapter 5: Handling Data in Redis" where Vinoo Das, starts to compare different approaches and their pros and cons. Why you should run Redis in master-slave mode and how to work around the limitations of Redis regarding sharding, which in my opinion is a big feature loss. The most important info Iearned in that chapter was to differentiate RDB and AOF and find out their usages. There's a good High Reads vs High Writes scenarios explained that exactly target RDB and AOF.
Now Chapter 6 and 7 - the apps...... Few words can describe the joy I had when reading these chapters. Now that's how you show real usage! Vinoo Das goes great lengths into showing various real-world scenarios apps that utilize Redis. And don't worry, it's not a code showcase with explanation at the code. It's much more than that and better. Author starts with the app abstractions - what the app does and how in abstractions only. You don't want to read code, you want to understand the ideas first. Knowing beforehand what you're going to be reading, really saves a lot of time to process the whole information. And of course there are enough diagrams and screenshots to show the vital usage of the apps.
The author really did his best to provide concise scenarios that are easy to reproduce and showcase his point. At most you need to follow 20 written steps to receive the same result as in a screenshot. In a 'Learning' series that a big plus! The Java examples are not bad either.
However the issue with the book is formatting as in every Packt book. It just needs space. Too much clumped paragraphs, text, code examples and etc. The book size may've increased to 20 more pages but it would be much easier to read.
Overall as someone interested in Redis and proper usage - I highly recommend it! I hope formatting issues are going to be fixed, but hey, it's Packt, chances are slim.
1.- Technologically opinionated, which is fine, but say it in the title: Learning Redis in Windows with Java and Jedis. 2.- Some of the code examples were excessively long. 3.- If you say nothing, the reader would expect the book using the redis command line, not being programatically oriented.