100 more of those BITFIELDs

100 more of those BITFIELDs Today Redis is 7 years old, so to commemorate the event a bit I passed the latest couple of days doing a fun coding marathon to implement a new crazy command called BITFIELD. The essence of this command is not new, it was proposed in the past by me and others,

http://antirez.com/news/103 · February 26, 2016

The binary search of distributed programming

The binary search of distributed programming Yesterday night I was re-reading Redlock analysis Martin Kleppmann wrote (http://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html). At some point Martin wonders if there is some good way to generate monotonically increasing IDs with Redis. This apparently simple problem can be more complex than it looks at a first glance, considering that it must ensure that, in

http://antirez.com/news/102 · February 13, 2016

Is Redlock safe

Is Redlock safe Martin Kleppmann, a distributed systems researcher, yesterday published an analysis of Redlock (http://redis.io/topics/distlock), that you can find here: http://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html Redlock is a client side distributed locking algorithm I designed to be used with Redis, but the algorithm orchestrates, client side, a set of nodes that implement a data store with certain

http://antirez.com/news/101 · February 9, 2016

Disque 10 RC1 is out

Disque 10 RC1 is out Today I’m happy to announce that the first release candidate for Disque 1.0 is available. If you don’t know what Disque is, the best starting point is to read the README in the Github project page at http://github.com/antirez/disque. Disque is a just piece of software, so it has a material value which

http://antirez.com/news/100 · January 2, 2016

Generating unique IDs an easy and reliable way

Generating unique IDs an easy and reliable way Two days ago Mike Malone published an interesting post on Medium about the V8 implementation of Math.random(), and how weak is the quality of the PRNG used: http://bit.ly/1SPDraN. The post was one of the top news on Hacker News today. It’s pretty clear and informative from the point of view of

http://antirez.com/news/99 · November 21, 2015

6 years of commit visualized

6 years of commit visualized Today I was curious about plotting all the Redis commits we have on Git, which are 90% of all the Redis commits. There was just an initial period where I used SVN but switched very soon. Full size image here: http://antirez.com/misc/commitsvis.png !~! Each commit is a rectangle. The height is the number of

http://antirez.com/news/98 · November 20, 2015

Recent improvements to Redis Lua scripting

Recent improvements to Redis Lua scripting Lua scripting is probably the most successful Redis feature, among the ones introduced when Redis was already pretty popular: no surprise that a few of the things users really want are about scripting. The following two features were suggested multiple times over the last two years, and many people tried

http://antirez.com/news/97 · November 19, 2015

A few things about Redis security

A few things about Redis security IMPORTANT EDIT: Redis 3.2 security improved by implementing protected mode. You can find the details about it here: https://www.reddit.com/r/redis/comments/3zv85m/new_security_feature_redis_protected_mode/ From time to time I get security reports about Redis. It’s good to get reports, but it’s odd that what I get is usually about things like Lua sandbox escaping, insecure temporary

http://antirez.com/news/96 · November 3, 2015

Moving the Redis community on Reddit

Moving the Redis community on Reddit I’m just back from the Redis Dev meeting 2015. We spent two incredible days talking about Redis internals in many different ways. However while I’m waiting to receive private notes from other attenders, in order to summarize in a blog post what happened and what were the most important ideas

http://antirez.com/news/95 · October 22, 2015

Clarifications about Redis and Memcached

Clarifications about Redis and Memcached If you know me, you know I’m not the kind of guy that considers competing products a bad thing. I actually love the users to have choices, so I rarely do anything like comparing Redis with other technologies. However it is also true that in order to pick the right solution

http://antirez.com/news/94 · September 26, 2015