Skip to content

Instantly share code, notes, and snippets.

@ninjudd
Last active December 30, 2015 08:09
Show Gist options
  • Save ninjudd/7800632 to your computer and use it in GitHub Desktop.
Save ninjudd/7800632 to your computer and use it in GitHub Desktop.
5000 concurrent requests with a thread pool of 50 using ring-async!
fallout:ring-async master$ lein test
Retrieving com/ninjudd/ring/1.2.2/ring-1.2.2.pom from clojars
Retrieving com/ninjudd/ring/1.2.2/ring-1.2.2.jar from clojars
lein test ring.middleware.async-test
2013-12-04 21:40:01.032:INFO:oejs.Server:jetty-7.6.8.v20121106
2013-12-04 21:40:01.056:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:7700
Ran 1 tests containing 5000 assertions.
0 failures, 0 errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment