Description:
Currently noticeable chunk of cpu usage (>50%) of grpc access log is spent in syscalls.
This overhead can be eliminated by batching access log entries.
Is it reasonable to extend CommonGrpcAccessLogConfig by two new field: flush_interval and batch_byte_size?
Relevant Links:
|
// TODO(mattklein123): Consider batching multiple logs and flushing. |
Description:
Currently noticeable chunk of cpu usage (>50%) of grpc access log is spent in syscalls.
This overhead can be eliminated by batching access log entries.
Is it reasonable to extend
CommonGrpcAccessLogConfigby two new field:flush_intervalandbatch_byte_size?Relevant Links:
envoy/source/extensions/access_loggers/http_grpc/grpc_access_log_impl.cc
Line 406 in c53b12d