Skip to content

thedanielhanke/concurrency

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start the server

bundle exec thin --threaded -p 5500 --threadpool-size 20 start


10 concurrents requests handled by a normal action:
time ab -c10 -n10 http://127.0.0.1:5500/normal

Example of 10 concurrent requests handled asyncronously and each one setting a cookie.
time ab -c10 -n10 http://127.0.0.1:5500/async

Example of 10 concurrent requests handled asyncronously and each one setting a cookie.
time ab -c10 -n10 http://127.0.0.1:5500/async_with_cookies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 73.9%
  • HTML 20.4%
  • CSS 2.9%
  • JavaScript 2.8%