Hey all,
is it possible to process a "large" Flatbuffer on-the-fly, being stored only partially in a ring-buffer, that is "smaller" than the Flatbuffer itself?
TL;DR
My use case is the following:
I have a client sending a "large", say 30MB Flatbuffer via network to a server.
The Flatbuffer would mostly contain a few bytes header metadata and a binary payload array.
The server cannot load the entire Flatbuffer into RAM, it would have a sort-of ring-buffer, of say 5MB.
It needs to receive the first part of the Flatbuffer from network, read the headers metadata and according to them forward the binary payload array.
It would then continue reading from the network and forward the binary payload array "chunk by chunk" to another destination (indicated by the already read headers).
Is this possible with Flatbuffers or do I need to first receive the entire buffer?
If possible, would that also be possible with gRPC as communcation protocol over network?