Some jetty adapters also supports the async interface using core.async: https://github.com/mpenet/jet.
Also, for async database access, I'm currently working on suricatta library (sql toolkit on top of JOOQ) and it exposes a simple async interface for execute queries asynchronously in a shared thread pool: http://niwibe.github.io/suricatta/devel/#_async_interface (it needs more polish and improvements but works pretty well for first version). Cheers Andrey 2015-01-06 3:11 GMT+01:00 Timothy Baldridge <[email protected]>: > And if you want async web frameworks, Pedestal supports core.async. You > just return a channel as a response body and it assumes that you will > eventually pipe your data down that channel. > > Timothy > > On Mon, Jan 5, 2015 at 6:09 PM, David James <[email protected]> wrote: > >> In case you are interested in a recent example, I wrote an NIO.2 based >> Riak client in Clojure without Netty. >> https://github.com/bluemont/kria >> >> It uses callback functions, so the consumer can do whatever they want; >> such as core.async. >> >> I agree with Timothy, above. My take-away from the experience is that >> core.async does not need to be *baked into* a library. It is better if it >> is not; for testing the library, I use atoms: >> https://github.com/bluemont/kria/blob/master/test/kria/test_helpers.clj#L45 >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > “One of the main causes of the fall of the Roman Empire was that–lacking > zero–they had no way to indicate successful termination of their C > programs.” > (Robert Firth) > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Andrey Antukh - Андрей Антух - <[email protected]> / <[email protected] > http://www.niwi.be <http://www.niwi.be/page/about/> https://github.com/niwibe -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
