grpc-java/netty
Eric Anderson 295d927d8b core: Add migrating deframer
This provides a substantial ~3x performance increase to Netty async
streaming with small messages. It also increases OkHttp performance for
the same benchmark 40% and decreases unary latency by 3µs for Netty and
10µs for OkHttp.

We avoid calling listener after closure because the Executor used for
RPC callbacks may no longer be available. This issue was already
present in the ApplicationThreadDeframer, but full-stream compression is
not really deployed so was unnoticed.

DirectExecutor saw a 5-6µs latency increase via MigratingDeframer.
DirectExecutor usages should see no benefit from MigratingDeframer, so
disable it in that case.
2020-06-18 15:48:29 -05:00
..
shaded all: migrate gradle build to java-library plugin 2020-05-04 16:44:30 -07:00
src core: Add migrating deframer 2020-06-18 15:48:29 -05:00
BUILD.bazel bazel: Add helper for maven_install's override_targets 2019-08-22 07:40:32 -07:00
build.gradle all: migrate gradle build to java-library plugin 2020-05-04 16:44:30 -07:00