rpc batching tuning