This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-03
Channels
- # arachne (1)
- # beginners (71)
- # boot (14)
- # cider (17)
- # cljs-dev (3)
- # clojure (169)
- # clojure-gamedev (35)
- # clojure-greece (1)
- # clojure-russia (30)
- # clojure-spec (3)
- # clojurescript (16)
- # core-async (2)
- # cursive (1)
- # datomic (3)
- # dirac (1)
- # hoplon (95)
- # off-topic (10)
- # onyx (1)
- # parinfer (1)
- # pedestal (2)
- # re-frame (2)
- # reagent (2)
- # untangled (1)
I have a consumer that can’t always keep up with a producer, so I put a sliding-buffer (size 1) in between them, and for this application it’s not the end of the world to drop messages. However, I’d really like to know how many messages are being dropped. Does anyone have a recipe for this, or should I deftype my own impl/Buffer that keeps a count of drops?