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
forked from Nerian/concurrency
-
Notifications
You must be signed in to change notification settings - Fork 0
thedanielhanke/concurrency
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 73.9%
- HTML 20.4%
- CSS 2.9%
- JavaScript 2.8%