Live data from Hacker News

500 requests/s with Ruby on Rails 4 on a 5$ / month server

blog.wiemann.name

1–10 of 16 posts

Re: 500 requests/s with Ruby on Rails 4 on a 5$ / month server

#4

I find a single dyno on Heroku does a good job too and costs $0 / month. So far the most traffic I've handled is 1,708 page views in an hour with Rails 4 (and a lot of action caching).

That's less than 1 request/second. Rails should be fine even without caching.

Re: 500 requests/s with Ruby on Rails 4 on a 5$ / month server

#6

Am I reading the ab output wrong or did you only make 40 requests and 13 of them failed? Also there's no mention of what your test actually is?

Yeah spot on, the test is useless due to the small sample size. Rounding errors could give you 5000 requests/second if you're lucky.

Re: 500 requests/s with Ruby on Rails 4 on a 5$ / month server

#9

Am I reading the ab output wrong or did you only make 40 requests and 13 of them failed? Also there's no mention of what your test actually is?

I came to say the same thing. Probably best to just flag this and move on. The results show most of the requests failed.

Re: 500 requests/s with Ruby on Rails 4 on a 5$ / month server

#10
post #5

Am I reading the ab output wrong or did you only make 40 requests and 13 of them failed? Also there's no mention of what your test actually is?

Indeed Complete requests: 40 Failed requests: 13 is far from good

And 28 were non 2xx, which is also a failure. Probably db issues since there is no way SQLite can handle 20 concurrent connections.
Post reply on HN