This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-22
Channels
- # anglican (2)
- # announcements (8)
- # babashka (37)
- # beginners (13)
- # calva (16)
- # clj-kondo (20)
- # cljdoc (1)
- # cljsrn (3)
- # clojure (6)
- # clojure-europe (3)
- # clojurescript (3)
- # clojureverse-ops (3)
- # conjure (1)
- # core-async (9)
- # cursive (6)
- # cypress (2)
- # datomic (5)
- # fulcro (1)
- # honeysql (15)
- # luminus (2)
- # malli (35)
- # music (3)
- # nbb (1)
- # off-topic (7)
- # pathom (12)
- # practicalli (1)
- # re-frame (15)
- # reagent (37)
- # sci (9)
- # shadow-cljs (3)
- # show-and-tell (3)
- # spacemacs (3)
- # workspaces (3)
not sure if this is a core.async question, but figured I'd try here. I have this function puts the result of an AWS invocation on a new promise channel. but if I call this function 10,000 times I only see about a few hundred invocations. are there any gotchas with this way of using channels, or should I look somewhere else for the issue?
(defn run-lambda []
(aws.async/invoke
lambda
{:op :Invoke
:ch (async/promise-chan (map :StatusCode))
:request
{:FunctionName "test"
:Payload (json/write-str {:cmd "test"})}}))
There is a built in limit to how many pending operations a single channel can have, but that is for a single channel and it sounds like you are involve multiple channels
hmm ok thanks. could be I'm getting throttled somewhere else then. just wanted to make sure I wasn't using it incorrectly, e.g. need to take from the channel in order for the invocation to happen