grpc/test/cpp/microbenchmarks
Alisha Nanda 19d06a78ec
Add random early rejection for metadata (#32600)
(hopefully last try)

Add new channel arg GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE as hard limit
for metadata. Change GRPC_ARG_MAX_METADATA_SIZE to be a soft limit.
Behavior is as follows:

Hard limit
(1) if hard limit is explicitly set, this will be used.
(2) if hard limit is not explicitly set, maximum of default and soft
limit * 1.25 (if soft limit is set) will be used.

Soft limit
(1) if soft limit is explicitly set, this will be used.
(2) if soft limit is not explicitly set, maximum of default and hard
limit * 0.8 (if hard limit is set) will be used.

Requests between soft and hard limit will be rejected randomly, requests
above hard limit will be rejected.
2023-03-27 14:13:20 -07:00
..
BUILD Clean up the TODO item in build target `grpc_base` part `channel_args` (#31642) 2022-11-23 16:01:34 -05:00
bm_alarm.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_arena.cc [arena] Fix ABA problem in pooled allocation (#32336) 2023-02-09 18:06:19 -08:00
bm_byte_buffer.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_call_create.cc Reland "[promises] Convert call to a party" (#32651)" (#32653) 2023-03-27 14:02:36 -07:00
bm_callback_streaming_ping_pong.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_callback_unary_ping_pong.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_channel.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_channel_args.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_chttp2_hpack.cc Add random early rejection for metadata (#32600) 2023-03-27 14:13:20 -07:00
bm_chttp2_transport.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
bm_closure.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_cq.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
bm_cq_multiple_threads.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
bm_event_engine_run.cc [fixup] EventEngine Nomenclature (#32195) 2023-01-25 09:31:46 -08:00
bm_exec_ctx.cc More changes (#31194) 2022-09-30 17:10:01 -07:00
bm_fullstack_streaming_ping_pong.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_fullstack_streaming_pump.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_fullstack_unary_ping_pong.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_huffman_decode.cc [chttp2] Eliminate legacy huffman decoder (#32289) 2023-02-07 19:53:41 -08:00
bm_opencensus_plugin.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
bm_pollset.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
bm_thread_pool.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
bm_work_queue.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
callback_streaming_ping_pong.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
callback_test_service.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
callback_test_service.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
callback_unary_ping_pong.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
fullstack_context_mutators.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
fullstack_fixtures.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
fullstack_streaming_ping_pong.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
fullstack_streaming_pump.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
fullstack_unary_ping_pong.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
grpc_benchmark_config.bzl Speed up microbenchmark tests (#27584) 2021-10-05 07:09:02 -07:00
helpers.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
helpers.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
noop-benchmark.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00