1

Optimal server setup for Sintra + Redis Datastore

view story
linux-howto

http://serverfault.com – I have fairly light-weight Sinatra application that uses Redis as its database. The app was set up this way because the app only needs to keep track of real-time information. It does not need to store large amounts of data. Right now I have one server (VPS with 2 vCPUs and 2GB of RAM) running the Sinatra app (apache2 prefork), the Redis server and a background process which connects to a HTTP streaming server and loads raw data as jobs into Redis/Resque. A Resque worker running on the same server works off the Resque queue, parsing raw data, and storing information back into Redis. Only the b (HowTos)