Christophe Limpalair @christophelimp, whom we fondly remember from previous Redis Watch issues, writes about our favorite topic from CodePen @CodePen‘s perspective. To power this uber-frontend, the two humble Redis servers are employed (one’s a slave, naturally) to buffer n’ squash snapshot updates, background job scheduling and easy-peasy voting. But all that pales when you get to the “Critical use cases” section where you learn how an expiry-based throttler/killswitch protects an Apache Solr engine during its bad times.
There’s more goodness in the article but one thing bothers us: we’ve heard that Redis is the Leatherman of Databases, and CodePen definitely strengthens that analogy. But if CodePen is the “playground for the front end web”, what does that make Redis? The best we could come up with is multi purpose playground equipment but perhaps you can make a catchier one.
That’s one cool viz from Salvatore Sanfilippo @antirez of 90% of commits made to Redis where “Each commit is a rectangle. The height is the number of affected lines (a logarithmic scale is used). The gray labels show release tags.” Tcl source included, naturally. We’re fascinated with data visualizations and even more so with those that are about code, so we couldn’t have agreed more with the author’s closing sentiments.
So nice to have a cheat sheet at an untracked search query easy reach – by @stephaneisfeld via @duckduckhack. The actual content is slightly, ehm, stale but we couldn’t find the sources to make a pull request for updating it… ideas?
Definitely not your plain old stuff – the POCO here means POrtable COponents, and this project is all about cross-platform C++ libraries with a network/internet focus. We’re not that heavily into C++ nowadays but it appears that the project has a lot to offer, and even more so now that it has been added with our favorite MPPE. The change is so recent that the documentation reveals nil, but our quick src
inspection reveals nothing less than the beginning of a new Redis client. That like witnessing a baby being born or watching a supernova – very exciting. Good luck to @pocoproject and leader Aleksandar Fabijanic – “Old, but not obsolete” – @0x00FA. BTW, is anyone familiar with the Boost Software License?
Don’t let the #math scare you, the lesson’s simple and we really can’t argue with it.
shimohq/ioredis-tree #NodeJS
#Lua
#datastructures
#tree
#foss
If you know us anything about us by now, you should know that if there’s one thing that we like it is Redis. No, make that two things: Redis and data structures. Actually, there are three – Redis, data structures, Lua and trees. Wait, that’s four. Never mind. Our thanks go to Zihua Li @luinlee.
So nice to see that Redis is used to test RAM performance as part of OpenBenchmarking.org @OpenBenchmark‘s suite.
Newly-liberated from mocking hell, Testing Goat prophet/messenger Harry Percival @hjwp shares the one-step road to enlitenment.
This one needs no introduction and comes from Jose F. Romaniello @jfroma as part of the limitd
project by @auth0.
No it doesn’t. In fact, the very notion of an empty key regardless its data structure, doesn’t EXISTS
in Redis 🙂 Still, realizing this post-factum while chasing gremlins is less than desirable so you’d be better off internalizing this now. Courtesy of Ben Nadel @BenNadel.
Cache, Rails & Redis (3:59 [30s intro incl.] minutes to watch)
Hot from last week @RailsIsrael is this talk by @Yotpo‘s VP R&D Vladislav Shub @VladislavShub on what it takes to serve 270M end users, 1400K customers and 3B impressions every month. BTW, this goes to show that having your Redis in good hands (hint: Redis) can also assist with your romantic endeavors. Via @Code4WD of Raphael Fogel @fogelmania.
A major release for an all-time favorite of ours by Bruno Aguirre @Cuervo. New features include counting and users but there’s promise for much more in the future… stay tuned.
Note: why is Minuteman an all-time favorite? Redis is about providing tools (Lethearmans, MPPEs, …) but what makes it really amazing is the stuff that people build on top of it. QED.
Post-scriptum to note: and, of course, Minuteman uses Lua 🙂
So nice to see a demo by Norman Joyner @normanjoyner of containership/codexd‘s Docker container migration awesomeness performed on a live Redis subject.
TL;DR Redis is simple but beware of asymptotic computational complexity. This first article via @Avvo‘s engineering is from their Director of Software Development Justin Weiss @justinweiss who, AFAWK, writes about the first publicly known Redis use case in the Legal vertical.
OH Lloyd Weehuizen @lloydw > Not sure how I got by without redis, it seems to make everything so simple