Fork me on GitHub

This may be a naive question but I'm gonna ask anyways. I've got JSON documents that are pretty big (ranging from 1K to ~16MB in size at times). With documents that large, what affect will that have on Aeron or Peers as they pass segments between each other as tasks process them?


16MB is going to be tough, as you’ll need 16*8*3 MB connections between the peers (one for each the publisher and the subscriber)


So you’re going to start getting pretty big in terms of how big your buffers are going to need to be, since each peer to peer connection will require one of those


Ok, that's good to know. Seems like that wouldn't play too nice with the other jobs we're running. Most of the docs in the other jobs are around 1-10k as @camechis and I have been fiddling with buffers. Sounds like these docs may not be right for an onyx job possibly.


Yeah, or you may be better off putting the documents somewhere and passing around the reference to them.


That was a thought I had. Pass a claim check pointing to where the docs would be located in google cloud storage maybe


Right. That’ll be especially beneficial when most fns aren’t even doing anything with the document, since you’d normally be paying a serialisation cost on every message


The other thing I’m open to is having a configurable channel size between two task types, so you could choose to allow bigger messages strategically


Huh, that would be kinda cool actually. I'll talk it out with @camechis but my guess is for now, we'll look into our options first. Onyx is a perfect fit for the other stuff we're doing so naturally I go to Onyx first for data processing.


Yeah, you can also try to collapse down multiple tasks into one, where appropriate.


But yeah, passing around 16MB documents in streaming is something you need to think through


yeah that's a big honkin' doc for streaming


Hi, I haven't been tracking much with Onyx recently (been working on other projects). But I saw that 0.12 is underway. I was poking around the docs and couldn't find the "what's new" summary. Where is it located?