Skip to content

Comment on Using Redis with Ruby on Rails

Comments

I really loved the "TL;DR: Redis is fucking awesome."

I started using Redis for a project with Node, and I loved the node_redis library because it's non-blocking :-)

I'm working on bringing em-hiredis up to spec. If you want a similarly non-blocking ruby alternative. https://github.com/koudelka/em-hiredis

Redis is absolutely beautiful for async networking; the protocol is extremely straightforward. It has completely solved my problem of persisting data from EventMachine programs in Ruby, too.

A couple hundred lines of ObjC got a generic Redis client and a special-purpose blpop client working for my Cocoa apps (I keep libevent in a thread there).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.