alamb commented on PR #6690:
URL: https://github.com/apache/arrow-rs/pull/6690#issuecomment-2479892853

   > I had a brief skim, couple of comments
   > 
   > Adding an IPC specific API to ArrayData seems a touch unfortunate. It's 
probably ok, but a little off.
   > 
   > I'm not really sure of the context for this PR, but assuming it is to 
better avoid the gRPC limits, I worry this may be a fools errand. There is a 
lot beyond the data buffers going into those payloads (e.g. metadata 
flatbuffers, framing protobuf, HTTP framing, etc...) and trying to account for 
all of this is going to be a never ending game of wack a mole. Ultimately the 
only solution I can see is to set the soft limit in the encoder well below the 
hard limit enforced by the transport.
   
   The context of this PR is that we have set the soft limit well below the 
hard limit (2MB vs 4MB) and somehow a customer still managed to hit the hard 
limit. So @itsjunetime  is trying to improve the specificity of the size. 
   
   We (at least our team in Influx) don't directly control all layers involved 
in gRPC communication -- this limit is being enforced by one of the various 
programs / mixings installed in kubernetes to manage traffic, report on things, 
etc. While in theory we should be able to figure out which one and increase its 
limits, that will also likely be a never ending game of whack a mole.
   
   Let me see if I can help to find a way to break this PR up into smaller, 
more manageable pieces, so that we can get this in / tested in a way that is 
reasonable to maintain


-- 
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]

Reply via email to