I've opened a gRFC allowing for coalescing of writes for streaming RPC's from our C++ API here: https://github.com/grpc/proposal/pull/2Please keep any discussion on this thread.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAAvp3oOjheoTeibLGs8GapupvM_gjDJPu9Oq0dTMbzGbJ0mRiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
We don't currently have a cork for initial metadata, but we could get one by just adding a WriteOptions to the stub stream constructors: that would be the minimal change.
Most of the rest of this could be seen as syntactic sugar to help guide developers into doing the cheaper thing vs the more expensive thing.
Implementation wise, this also gives us the ability to traverse the core stack once instead of twice for a corked write. Likely only a win for very high qps applications (the win is measured in low numbers of microseconds), but we're starting to see some that would appreciate it.
How is this logically different from per-stream 'corking' ? We want the ability to coalesce the writes for groups of messages on a stream, not just the head and tail of a stream, it seems like a generic cork mechanism can cover headers and trailers tooI've opened a gRFC allowing for coalescing of writes for streaming RPC's from our C++ API here: https://github.com/grpc/proposal/pull/2Please keep any discussion on this thread.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.