Blog-banner
Ben Wiseley

Simple strategy for Redis in Ruby-on-Rails

By Ben Wiseley

Here's a simple "it just works" approach to using Redis in your Rails app.

Quick background first. Redis requires a redis-server to be running. A redis-server runs against a port (the default port is 6381). While you can use name-spacing strategies to use the same redis-server for multiple redis db's it's not recommended (see KISS principle).