ankitsultana opened a new pull request, #9484: URL: https://github.com/apache/pinot/pull/9484
WIP. This does the following: 1. `MailboxService` uses `TransferableBlock`. The serde to `MailboxContent` is moved within GrpcMailbox. 2. Adds a new `InMemoryMailboxService`. If the stage is local, then the `TransferableBlock` can be passed from sender to receiver simply using a queue. 3. Adds a `MultiplexingMailboxService` which can choose either gRPC based mailbox-service or in-memory mailbox-service. Optimizations: 1. This avoids MailboxContent serde if sender/receiver stages are local. This can save ~10% latency overhead (based on the query). 2. Saves memory. If we use gRPC mailbox then we'll copy the buffer to create MailboxContent. 3. [Not part of this PR] This will help avoid List<Object[]> _rows ==> DataTable ==> List<Object[]> _rows serde. These optimizations are most helpful if the stages deal with large data (Amdahl's basically) cc: @walterddr @siddharthteotia -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
