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
-
Notifications
You must be signed in to change notification settings - Fork 2
Nerian/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