I'm fooling around with Clojure and I implemented simple server that will randomly query/insert/update/delete random data from DB on every request. When I benchmark (wrk) server is slow (compared to similar solution) and I noticed that CPU is not maxed out, it's about ~30-40%. I used http-kit for HTTP server, Hakiri-CP as connection pool. Added some core.async hoping to improve the speed but results are the same. There is clearly something wrong with my code but I can't figure it out. I'm hoping if someone could throw a glimpse on my code to give a sugestion. Here is the code: https://github.com/wooque/bench/blob/master/clojure/src/bench/core.clj
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@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 the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.