Re:Redis crashes - a small rant about software reliability
by ComputerGuru on Tuesday November 27, 2012 @08:46AM
(#4837059)
Page is down. Here is a formatted copy: https://gist.github.com/4154289
[ Parent
| on HN ]
Re:Redis crashes - a small rant about software reliability
by jrajav on Tuesday November 27, 2012 @09:08AM
(#4837130)
Formatted more nicely: http://gist.io/4154289
By the way, check the page first, give bloggers the traffic their content deserves!
Re:Redis crashes - a small rant about software reliability
by JimWestergren on Tuesday November 27, 2012 @09:10AM
(#4837148)
Is he not caching his blog with Redis?
Re:Redis crashes - a small rant about software reliability
by antirez on Tuesday November 27, 2012 @01:50PM
(#4838142)
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".
Re:Redis crashes - a small rant about software reliability
by antirez on Tuesday November 27, 2012 @09:32AM
(#4837242)
Sorry, the Sinatra based site is deployed with "ruby app.rb". Probably not enough...
Re:Redis crashes - a small rant about software reliability
by irahul on Tuesday November 27, 2012 @01:39PM
(#4838076)
> Sorry, the Sinatra based site is deployed with "ruby app.rb". Probably not enough..
Since you are running it as "ruby app.rb", I take it you aren't interested in doing an app server/web server/cache deployment. But if you aren't using thin, that's only a "gem install thin" away.
Re:Redis crashes - a small rant about software reliability
by akx on Tuesday November 27, 2012 @12:53PM
(#4837778)
May I recommend uWSGI for hosting?
http://uwsgi-docs.readthedocs.org/en/latest/Ruby.html#runnin...
Re:Redis crashes - a small rant about software reliability
by jQueryIsAwesome on Tuesday November 27, 2012 @01:01PM
(#4837828)
Use Redis man; I heard is really good.
Re:Redis crashes - a small rant about software reliability
by nateberkopec on Tuesday November 27, 2012 @08:51AM
(#4837073)
The irony is too thick to read through.