24 karma · joined November 28, 2009
Check out this video which describes it pretty well: https://youtu.be/srtMWzyqdp8?t=1027
For example, if a web request in framework A takes 100ms and framework B takes 200ms, but framework B can handle 4,000 requests concurrently and framework A can handle 1,000 requests concurrently, then framework B will beat framework A in handling 20,000 requests.
framework A - (20,000r / 1,000r) * 100ms = 2,000ms
framework B - (20,000r / 4,000r) * 200ms = 1,000ms
Also, when I used rails, quite a bit of time was spent wrapping the data into active record objects, whereas Ecto returns simple data structures, which seems to be much faster.
The one at the top is proxying the request to a java app which happens to be a little slow.
http://michaelvanrooijen.com/articles/2011/06/01-more-concur...