profile
viewpoint

Ask questionshow to disable gRPC batch mechanism

Question

I use go-ycsb and set TiKV max batch size to 0 to disable gRPC batch explicitly, but to my surprised, I still find gRPC uses batch:

image

How to disable it?

tikv/tikv

Answer questions hicqu

How do you set max-batch-size to 0?

useful!

Related questions

Test failed with error `too many open files` hot 1
combine all binaries into one hot 1
PCP: test hot 1
Deploy tidb with docker swarm, fail to send snap between tikv of different hosts hot 1
Fix design of engine_traits for mutual associated types / type bound equality hot 1
Needs protoc dependency hot 1
Failpoint tests will not run when make dev hot 1
Running cargo bench causes panic hot 1
Better memory observation for tidb_query executors hot 1
Github User Rank List