|
|
|
|
|
by pmontra
3639 days ago
|
|
This is a benchmark I did with the versions of Rails and Phoenix that were current in October 2015. select * from visits, plus conversion to JSON and delivery to a client on local loop. About 5000 records. * Phoenix 140 ms * Rails 248 ms * Ruby without AR 219 ms * PostgreSQL 2.97 ms, with no JSON generation and no delivery select started_at, duration from visits -- JSON and delivery * Phoenix 74 ms * Rails 116 ms * Ruby without AR 88 ms * PostgreSQL 3.47 ms, no JSON no delivery Single process, so maybe Phonix could get a larger advantage as the number of processes/requests increase. For the typical none to low traffic site there is little difference, the tool the programmer is more familiar with wins. Edit: improved formatting. |
|
>Ruby Conf that claimed that Elixir was giving better results (in request time) than rails
I meant:
Ruby Conf that claimed that Elixir was giving better results (in request time) without a cache than rails with a cache