News for hackers. Stuff that matters.
Re:600K concurrent HTTP connections with Clojure and http-kit by fernandezpablo on Monday January 28, 2013 @01:32AM (#5127445)
> In an asynchronous/event driven server slow SQL queries won't limit your concurrency

Since this is on the JVM, SQL almost always means JDBC and JDBC is blocking so yes, SQL will in fact limit your concurrency.

Re:600K concurrent HTTP connections with Clojure and http-kit by shenedu on Monday January 28, 2013 @01:36AM (#5127456)
yes, SQL is blocking, JVM also have threads. The http-kit is asynchronous(epoll on linux), the API for programmers is sync, which is more familiar.
Re:600K concurrent HTTP connections with Clojure and http-kit by pygy_ on Monday January 28, 2013 @05:18AM (#5127934)
Alternatively, you can use a message queue or a REST service, and whatever lightweight, async database frontend.
Re:600K concurrent HTTP connections with Clojure and http-kit by fernandezpablo on Monday January 28, 2013 @08:46AM (#5128436)
That would just move the blocking code elsewhere, and now you have one extra framework / message queue on your stack (free complexity)
Re:600K concurrent HTTP connections with Clojure and http-kit by pygy_ on Monday January 28, 2013 @09:49AM (#5128667)
The point is to use a non-blocking DB frontend. Not necessarily JVM-based.