A Newsletter About Everything Redis

Issue #42 (RIP DNA)
April 30th, 2015

Editor’s Note

If the last issue RW41 was all about questions (got a total of 4 responses, 2 are mine), then this one (42) must be holding all the answers! And please: cast your vote and add your answer to the the redis /etc/services elegance challenge below.

Redis Trivia: Apropos #DNA, news from Redis are that INCRNA can be used to treat colon:cancer – http://www.eurekalert.org/pub_releases/2015-04/uotm-lnr042015.php

Cheers,
Itamar Trivia: Apropos #DNA, I am 42 y/o and my daughter’s birthday is April 2nd.

Be social, share this issue of Redis Watch (tweet can be edited before posting): I’m reading Redis Watch #42: https://redislabs.com/redis-watch-archive/42

int main(int argc, char **argv) {

Reaching Milestones (5 minutes to read)

IST Research had recently open sourced Scrapy Cluster – a distributed on-demand web scraping cluster. Besides being a part of the Memex project, which is in turn a part of DARPA‘s Open Catalog plan, the new #foss is built in #Python, uses scrapy (naturally) and is coordinated by Apache Kafka and… Redis.

Take a Swim in the Connection Pool (12 minutes to read)

This write up by Brandon Rice @brandonlrice is educational at two levels: first, you learn how to search for and diagnose an issue – an important skill to have for any software wrangler. Secondly, you learn from the misfortuneexperience of others about the importance of connection pooling.

How We Boosted Counting Performance by 7410x with Redis (10 minutes to read)

In the series’ (RW39) 2nd part, Matan Kulikovsky @shmatt_Ta from @Soomla finally puts his Redis powers to good use and shows how to get a real time equivalent of MySQL’s COUNT DISTINCT (a distant cousin of @CountVonCount IIRC) with HyperLogLogs.

Tools & Development

antirez/disque

#Disque #foss

The alpha of Salvatore Sanfilippo @antirez‘s new project is here – an in-memory, distributed job queue. Grab it while it’s hot and discuss it on freenode’s IRC #disque (coincidently, this release came out exactly 42 days after @antirez had blogged about it RW36 #JustSaying).

What’s the most elegant way to add Redis to /etc/services?

#MERZFTW #question

To celebrate last week’s historical moment, I wanted to add Redis to my services file – but how should I go about that? To find the answer (not 42), I had appealed to the wisdom of the crowds and they have responded! The giants and pillars from the community have come to my aid – including Bill Anderson @ucntcme, Markus Bergholz @markuman and Damian Janowski @djanowski to name but a few – so have a look, cast your vote on the best answer and jump in with your solution for a sure upvote and a chance at the bounty 🙂

DavidWittman/ansible-redis

#Ansible #foss

…is a highly configurable Ansible role for installing Redis and Sentinel by David Wittman.

Deploy your Enferno website on Heroku for FREE !

#Python #foss

Enferno is an advanced Flask-based framework by Nidal Al Hariri @level09 that’s entirely future-proof for the next decade at the very least – here’s how you can use it on Heroku for free (price is not included in future-proof guarantee :)).

augurysys/autocomplete

#Go #foss

An autocomplete library for building exactly that type of services – by Gal Ben-Haim @gbenhaim via Augury @augurysys.

SamSaffron/redismux

#Go #foss

A simple Redis multiplexer, that auto-provisions and terminates instances. Now added with auto-failover for master/slave – from @Discourse‘s co-founder, Sam Saffron @samsaffron.

Double Buffering in Redis

#Redis #howto

By using RENAME, you can swap an old value with a new one that takes time to prepare – a nice technique that’s actually not unlike the graphics counterpart – explained by Daniel D’Agostino @dandago2.

Using the Redis multi object in Node.js for fun and profit

#NodeJS #howto

The 3rd instalment (RW40, RW41) in Kyle Davis @stockholmux‘s Redis (pending confirmation) Trilogy illuminates a common pattern in Redis clients’ implementation of MULTI blocks and shows how to use that pattern for easily extracting the replies that are of interest to you.

zulily/reckon

#Go #foss

Sampling a big database can be a daunting task (remember https://redislabs.com/blog/i-have-500-million-keys-but-whats-in-my-redis-db?), but here’s a cool tool for doing just that with some intelligence and pretty looks as well. by Dylan Carney @_dcarney_ via Zulily Engineering @zulilytech.

How to allow only one IP to access Redis with iptables

#security #howto

From the blog of my favorite service for Redis database at large, @Redsmin.

Redis SCAN by “regex”

#Lua #gist

Here’s the gist of a useful technique to extend Redis’ space crawling capabilities – synco ergo sum @itamarhaber.

Overheard

Chris Baglieri @chrisbaglieri: “The more you let your tools work for you, the better. And on that note, Redis continues to be my favorite in our war chest.”

Willy Pell @uuilly: “Redis is the best piece of software I’ve used in a long time.”

Sajid Akhtar @mail2fashion: “#Redis is favourite when we talk abt #scalability

Mark Paluch @mp911de: “Up to 380.000 async operations per second using #lettuce java #redis client https://github.com/mp911de/lettuce/issues/54 #performance

xsyn @xsyn: “Wow, Redis is pretty awesome. First time I’ve needed an in-memory database, and I’m super impressed.”

Travis Cowf-Man @traviskaufman: “Me: “How can I efficiently get users with props within a time range from the cache?!” Redis: “Calm down I got this” http://redis.io/commands/zrangebyscore

Andrew @jnsandrew: “Spent a few hours with Redis. It has been a stress-free chilled afternoon. Happy.”

Redis Labs

Vlog post: At @Grindr, both mobile app and the infratech are built around two central concepts – speed & people. Watch, listen and learn from Lukas Slika’s Tech Talk from last week:
https://redislabs.com/blog/grindr-using-redis-to-create-a-blazing-fast-mobile-app

Slides deck: Five Key Takeaways for Developing with Redis via @ITBusinessEdge.

Questions? Feedback? Anything you want to share? Email or tweet me – I’m highly available 🙂

This newsletter was produced and distributed by Redis Labs, Inc.
Redis Labs, Inc. 700E El Camino Real, Suite 170, Mountain View, CA 94041

Archive | Subscribe | Follow on Twitter