This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-29
Channels
- # admin-announcements (1)
- # announcements (3)
- # babashka (18)
- # beginners (35)
- # cider (4)
- # clj-kondo (52)
- # cljs-dev (2)
- # clojure (92)
- # clojure-spec (18)
- # clojurescript (17)
- # conjure (11)
- # core-async (1)
- # datomic (11)
- # emacs (5)
- # fulcro (11)
- # graalvm (10)
- # helix (21)
- # kaocha (6)
- # malli (1)
- # membrane (37)
- # off-topic (110)
- # re-frame (1)
- # reagent (12)
- # reitit (5)
- # rewrite-clj (1)
- # sci (1)
- # shadow-cljs (40)
- # vim (21)
- # vrac (17)
Hello
I'm developing a http server for learning proposes
This HTTP server is very simple: I start a ServerSocket
, thread waits on .accept
and then .submit
the "request work" to a ExecutorPool and loop to .accept
Can I use core.async
to replace this thread-pool
? It will use pipeline-blocking
? If yes, what I put in to-chan
? I create a "dump chan" and a (go (<! dump-chan) (recur) ) ?
https://github.com/souenzzo/ds-http/blob/master/src/br/com/souenzzo/ds_http.clj#L221