This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-10
Channels
- # announcements (4)
- # beginners (111)
- # boot (34)
- # cider (67)
- # cljdoc (10)
- # clojure (90)
- # clojure-dev (37)
- # clojure-europe (3)
- # clojure-gamedev (3)
- # clojure-italy (18)
- # clojure-losangeles (2)
- # clojure-nl (27)
- # clojure-spec (24)
- # clojure-uk (59)
- # clojurescript (41)
- # cursive (32)
- # datomic (31)
- # emacs (21)
- # figwheel (1)
- # figwheel-main (2)
- # fulcro (43)
- # graalvm (6)
- # graphql (3)
- # jobs-discuss (3)
- # kaocha (1)
- # nyc (1)
- # off-topic (22)
- # pathom (10)
- # pedestal (11)
- # re-frame (9)
- # reitit (17)
- # shadow-cljs (15)
- # spacemacs (13)
- # sql (6)
- # testing (5)
- # tools-deps (3)
- # vim (13)
- # yada (1)
Hi, does anybody has an example of how to run multiple concurrent queries with clojure.java.jdbc and c3p0 pool manager?
Not sure what you're asking @bertofer That's what happens automatically in multi-threaded code.
(It's not related to the jdbc level stuff)
I am using pmap, I will try with core.async/thread as I used it in another place and the concurrency was working fine
pmap
is a bit of a sledgehammer -- and is usually the wrong solution to any problem.
A reminder that I'm still open to feedback on the reducible!
name in next.jdbc
: https://github.com/seancorfield/next-jdbc/issues/16 -- I will probably only keep that open for another week at this point, as I plan to move to Beta soon (and swiftly on to RC/gold, I hope!).
