Describe the enhancement requested
Hi,
Not sure how to categorize this, as this is not really a bug, so I put it under the enhancement category.
When I moved from using ArrowFlight v8 to ArrowFlight v12 I noticed a degradation in performance. In order to verify it, I tried the arrow-flight-benchmark in localhost mode. I ran the following on Ubuntu 20.04 (8 cpu's and 32GB ram):
./release/arrow-flight-perf-server -port 31337 -transport grpc &
./release/arrow-flight-benchmark --server_host=localhost --server_port=31337 --records_per_stream=163333333 --num_streams=32 --num_threads=32 --records_per_batch=16384 --num_perf_runs=5
The V12 benchmark provided speed result which is ~10-15% less compared to V8 speed.
I traced the degradation directly to the following commit:
commit d89c0b4 (HEAD) ARROW-16729: [C++] Bump Abseil/gRPC dependency versions (#13315)
And more specifically, the upgrade of gRPC from v1.35 to v1.46.3 in arrow/cpp/thirdparty/versions.txt .
-ARROW_GRPC_BUILD_VERSION=v1.35.0
-ARROW_GRPC_BUILD_SHA256_CHECKSUM=27dd2fc5c9809ddcde8eb6fa1fa278a3486566dfc28335fca13eb8df8bd3b958
+ARROW_GRPC_BUILD_VERSION=v1.46.3
+ARROW_GRPC_BUILD_SHA256_CHECKSUM=d6cbf22cb5007af71b61c6be316a79397469c58c82a942552a62e708bce60964
Not sure how important this is to you, but I thought you should be aware of this. Do you have any clue why gRPC v1.46.3 causes such speed degradation in ArrowFlight?
Thanks for your hard work.
Component(s)
Benchmarking, C++, FlightRPC