Book Image

Learning Redis

By : Vinoo Das
Book Image

Learning Redis

By: Vinoo Das

Overview of this book

Table of Contents (16 chapters)
Learning Redis
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Functions in the Redis Server

In the previous chapters, we saw some features of Redis Server that make it a key-value NoSQL. We also saw that Redis, apart from storing vanilla key-values, also provides semantics to store data in a structured way. This feature in itself makes Redis stand out in the crowd, since most of the other databases (RDBMS and other NoSQL) don't provide interfaces which programmers can use. Other data stores have a fixed way of storing information, such as documents or maps, and programmers have to convert their data into these semantics to hold information. However, in Redis, programmers can store information in the same sematic that they use in their programs, such as a map, list, and so on. This in way provides a better and an easier way of understanding the program. Apart from that, Redis provides functions which elevate Redis from being just a data store to more like a framework builder, or in other words, more like a Swiss army knife. In this chapter...