You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code hook-up is tricky: if we want to remove timer, the intermediate report will be triggered in proxy_flow.cc, which is inside api_manger/grpc, the code structure will become complex. To optimize the performance with timer, we can set a byte threshold (1MB) to trigger the report, and extend the timer period (1s -> 10s).
No, it won't be tricky, the only tricky part is grpc is currently setting up as a content handler (not a filter)
You should add a IntermediateReport() into RequestHandlerInterface, and call it from grpc_server_call.cc. When we move grpc/transcoding to filter, then IntermediateReport() can be called in filter. All condition check should live in IntermediateReport().
Using timer seems inefficient when a streaming have long waiting time. Trigger report in read/write path with timestamp check might be better.
The text was updated successfully, but these errors were encountered: