Hacker News new | ask | show | jobs
by JimWestergren 4950 days ago
Is he not caching his blog with Redis?
1 comments

The blog uses Redis as primary data store, unfortunately there is Ruby between the user and the DB ;-)

Btw here the problem was mine, I was running the Sinatra app wit "ruby app.rb", and Apache was mod_proxing to this running on port 4567.

By default mod proxy will suspend the connection 60 seconds with an error if the proxed thing returns something wrong. Idiotic default that can be avoided just with:

    ProxyPass / http://127.0.0.1:4567/ retry=0
See "retry=0".