This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-13
Channels
- # arachne (2)
- # architecture (23)
- # bangalore-clj (5)
- # beginners (35)
- # boot (79)
- # cider (6)
- # cljs-dev (34)
- # cljsrn (9)
- # clojure (164)
- # clojure-argentina (2)
- # clojure-austin (4)
- # clojure-italy (7)
- # clojure-russia (40)
- # clojure-serbia (1)
- # clojure-spec (76)
- # clojure-uk (36)
- # clojurescript (47)
- # cursive (14)
- # datascript (2)
- # datomic (8)
- # dirac (19)
- # emacs (29)
- # heroku (7)
- # hoplon (35)
- # jobs-rus (1)
- # juxt (2)
- # leiningen (1)
- # lumo (23)
- # mount (4)
- # off-topic (22)
- # om (16)
- # onyx (19)
- # parinfer (10)
- # pedestal (47)
- # proton (5)
- # re-frame (88)
- # rum (1)
- # spacemacs (33)
- # sql (29)
- # uncomplicate (1)
- # unrepl (131)
- # untangled (5)
- # yada (12)
:onyx.peer/subscriber-liveness-timeout-ms
:onyx.peer/publisher-liveness-timeout-ms
do you have these set in your peer config? Wondering if the heartbeat is killing the task/peer as a task is taking too long.The default is 10 seconds, I've had to extend it out to 30 seconds for more involved jobs.
@jasonbell that's interesting, thanks, I'll look into that; it's certainly not set right now
Hey all! I wonder how onyx serializes segments to aeron. Does each segment become separate aeron message or could multiple segments be grouped into one aeron message? I'm asking because I want to understand where "Encoded message exceeds maxMessageLength" problem might be coming from. We're don't seem to have segments larger than 2mb
if you adjust the aeron.term.buffer.length
in the java options (using -D) then you can extend that
thanks, I'll try that. Still not sure where such big segment is coming from, though.. want to get to the bottom of it
@jetmind Segments are the user-facing items that you deal with in your task/aggregation/flow-condition functions. These are batched together using :onyx/batch-size
.
yeah, I understand that. Just wanted to figure out how they correspond to the underlying messaging layer. So, it theory one batch of segments could be sent through the wire as single Aeron message?
Yes, the Aeron offer is a batch of segments https://github.com/onyx-platform/onyx/blob/5e011d2cadea05bc0e66ca32fd34fd80ba14f323/src/onyx/plugin/messaging_output.clj#L110-L116
So if all your segments are 2kb+ in size, then a :onyx/batch-size
of 100 of them would put you over the 2MB limit.
We have onyx/batch-size
set to 10 but I think it’s possible for some of our segments to exceed 200kb+, so probably that’s what puts us over the limit
@gardnervickers I know the max Aeron term buffer is 1GB, has anyone tried segment sizes of 128mb?
Not that I’m aware of