Random notes on improving the Redis LRU algorithm

Random notes on improving the Redis LRU algorithm Redis is often used for caching, in a setup where a fixed maximum memory to use is specified. When new data arrives, we need to make space by removing old data. The efficiency of Redis as a cache is related to how good decisions it makes about what data to

http://antirez.com/news/109 · July 29, 2016

Writing an editor in less than 1000 lines of code just for fun

Writing an editor in less than 1000 lines of code just for fun WARNING: Long pretty useless blog post. TLDR is that I wrote, just for fun, a text editor in less than 1000 lines of code that does not depend on ncurses and has support for syntax highlight and search feature. The code is here: http://github.com/antirez/kilo. Screencast here: https://asciinema.org/a/90r2i9bq8po03nazhqtsifksb For the sentimentalists, keep reading… A

http://antirez.com/news/108 · July 10, 2016

Is Agile Killing the Architect

Is Agile Killing the Architect Has the rise of agile delvery killed off the role of the sofware architect in businesses, or is it still as relevent as it ever was?

https://www.julianbrowne.com/article/agile-killing-architect/ · July 1, 2016

Programmers are not different they need simple UIs

Programmers are not different they need simple UIs I’m spending days trying to get a couple of APIs right. New APIs about modules, and a new Redis data type. I really mean it when I say days, just for the API. Writing drafts, starting the implementation shaping data structures and calls, and then restarting from scratch to iterate again

http://antirez.com/news/107 · May 24, 2016

Redis Loadable Modules System

Redis Loadable Modules System It was a matter of time but it eventually happened. In the Redis 1.0 release notes, 7 years ago, I mentioned that one of the interesting features for the future was “loadable modules”. I was really interested in such a feature back then, but over the years I became more

http://antirez.com/news/106 · May 10, 2016

Three ideas about text messages

Three ideas about text messages I’m aboard of a flight bringing me to San Francisco. Eventually I purchased the slowest internet connection of my life (well at least for a good reason), but for several hours I was without internet, as usually when I fly. I don’t mind staying disconnected for some time usually. It’s a

http://antirez.com/news/105 · May 7, 2016

Redis 320 is out

Redis 320 is out It took more than expected, but finally we have it, Redis 3.2.0 stable is out with changes that may be useful to a big number of Redis users. At this point I covered the changes multiple time, but the big ones are: * The GEO API. Index whatever you want by

http://antirez.com/news/104 · May 6, 2016

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