Updated Redis NoSQL can store hashes, save datasets
September 8, 2010 —
(Page 1 of 2)
Related Search Term(s): NoSQL, Redis
The NoSQL movement has produced a range of contenders for the crown of “best cloud data store,” and one of the prime candidates, Redis, was updated to 2.0 on Monday. It adds the ability to store hashes, support for saving datasets to hard drives, and new blocking pop commands to allow clients to safely change data without interference.
The commands BLPOP and BRPOP were added to support popping from a list in a blocking fashion. This means the client connection will be blocked for a certain amount of time until another client pushes an item on a list. These commands are frequently used in producer/consumer scenarios.
Redis' short history is dotted with corporate sponsors. In the past, Citrusbyte and Engine Yard both channeled funds to the development of Redis. Today, however, VMware is the primary sponsor of the project.
Tom Mornini, CTO of Engine Yard, said the primary reason his company was involved with Redis was its flexibility as a data store. He said Redis' creator, Salvatore Sanfilippo, is incredibly focused on simple, small, stable code.
“The real thing I like about it is there's a tug-of-war in developers’ minds between transactionality and speed," said Mornini. "SQL databases have always had transactionality in spades, but they don't scale horizontally.
“Most of the key value pairs that do scale are eventually consistent. The interesting thing about Redis is [Sanfilippo] drew a fine line in making the design of the server and its evented model. He provides extremely high throughput, which reduces the need for large-scale parallelism, which allows for transactionality in a very consistent manner. You don't have to work through the concerns of 'What if two people change this key simultaneously?' because that's impossible in Redis. Normally that would be a performance bottleneck, but because of its design, you never run out of processor, you run out of network ports first.”
That's a big difference between Redis and other NoSQL databases, said Mornini: Redis is a jack-of-all-trades. “One of the best descriptions I've heard is that it's a network-accessible CS101 data store server," he said. "It's not just 'throw it in a key and get it back,' it’s a list server, a hash server, a test and a set server, all these basic primitives that are required to build highly distributed transactional applications.”