5 ms·
Page is down. Here is a formatted copy: https://gist.github.com/4154289 https://gist.github.com/4154289
by ComputerGuru 14y ago
Page is down. Here is a formatted copy: https://gist.github.com/4154289 https://gist.github.com/4154289
- nateberkopec 14y agoThe irony is too thick to read through.
- jrajav 14y agoFormatted more nicely: http://gist.io/4154289 http://gist.io/4154289 By the way, check the page first, give bloggers the traffic their content deserves!
- JimWestergren 14y agoIs he not caching his blog with Redis?
- antirez 14y agoThe 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".
- antirez 14y agoSorry, the Sinatra based site is deployed with "ruby app.rb". Probably not enough...
- akx 14y agoMay I recommend uWSGI for hosting? http://uwsgi-docs.readthedocs.org/en/latest/Ruby.html#running-rack-applications-on-uwsgi http://uwsgi-docs.readthedocs.org/en/latest/Ruby.html#runnin...
- jQueryIsAwesome 14y agoUse Redis man; I heard is really good.
- irahul 14y ago> 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.