--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
This is very interesting. Have you tried running the Ring Jetty adapter with a larger thread pool? It's set lower than the default so as not to overload cloud hosts like Heroku.
This is very interesting. Have you tried running the Ring Jetty adapter with a larger thread pool? It's set lower than the default so as not to overload cloud hosts like Heroku.
I'd consider adding a graph if folks think these numbers are sufficiently interesting?
Server Software: http-kitServer Hostname: 127.0.0.1Server Port: 8087Document Path: /Document Length: 1163 bytesConcurrency Level: 96Time taken for tests: 2.858 secondsComplete requests: 120000Failed requests: 0Write errors: 0Keep-Alive requests: 120000Total transferred: 156960000 bytesHTML transferred: 139560000 bytesRequests per second: 41981.59 [#/sec] (mean)Time per request: 2.287 [ms] (mean)Time per request: 0.024 [ms] (mean, across all concurrent requests)Transfer rate: 53624.92 [Kbytes/sec] receivedConnection Times (ms)min mean[+/-sd] median maxConnect: 0 0 0.1 0 4Processing: 1 2 0.7 2 7Waiting: 1 2 0.7 2 7Total: 1 2 0.7 2 7Percentage of the requests served within a certain time (ms)50% 266% 275% 280% 290% 395% 498% 599% 5
Server Software: nginxServer Hostname: 127.0.0.1Server Port: 8081Document Path: /Document Length: 1163 bytesConcurrency Level: 96Time taken for tests: 3.492 secondsComplete requests: 120000Failed requests: 0Write errors: 0Keep-Alive requests: 118844Total transferred: 164754220 bytesHTML transferred: 139560000 bytesRequests per second: 34365.55 [#/sec] (mean)Time per request: 2.793 [ms] (mean)Time per request: 0.029 [ms] (mean, across all concurrent requests)Transfer rate: 46076.41 [Kbytes/sec] receivedConnection Times (ms)min mean[+/-sd] median maxConnect: 0 0 0.1 0 4Processing: 0 3 2.2 2 23Waiting: 0 3 2.2 2 23Total: 0 3 2.2 2 23Percentage of the requests served within a certain time (ms)50% 266% 375% 480% 590% 695% 798% 999% 9100% 23 (longest request)
(def response {:status 200 :headers {"content-type" "text/html"}
:body (slurp "resources/index.html")
})
;;;; Handlers
(defn handler [request] response)
You are welcome.
My Github user name is xfeep.
I'm glad to join the repo. Thanks for your invitation!
Cheers :-)
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/UrRLCdex7d4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.