Hacker Newsnew | past | comments | ask | show | jobs | submit | samkidman's commentslogin

I tried this out with unicorn and this minimal config.ru which I believe replicates the author's setup:

  class TestApp
    def self.call(env)
      [200, [], ['Blah']]
    end
  end

  run TestApp
ab -n 10000 http://localhost:8080/ --> ~1900 RPS (~8400 RPS)

ab -k -n 10000 http://localhost:8080/ --> ~1900 RPS (~26000 RPS)

ab -c 100 -n 10000 http://localhost:8080/ --> ~2500 RPS (~14500 RPS)

I have no idea why it performed better on the concurrent benchmark. This was on my 2.3GHz i5 mac book pro. I think about 1/5th the performance of something closer to the machine is quite decent.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: