When I run the microbenchmarks demo, I have found that the consensus is always reached for only one client request instead of packaging a batch of such requests even if the maxbatchsize and samebatchsize parameters are set to 1024 and false respectively in system.config. For supporting this phenomenon, I print the requests.length in public void receiveMessages(int consId[], int regencies[], int leaders[], CertifiedDecision[] cDecs, TOMMessage[][] requests) of ServiceReplica, and the console result is always 1. Similarly, commands.length always equals to 1 in appExecuteBatch of ThroughputLatencyServer.
So I wonder how to make consensus on a batch of messages instead of one in microbenchmarks.
When I run the microbenchmarks demo, I have found that the consensus is always reached for only one client request instead of packaging a batch of such requests even if the
maxbatchsizeandsamebatchsizeparameters are set to1024andfalserespectively insystem.config. For supporting this phenomenon, I print therequests.lengthinpublic void receiveMessages(int consId[], int regencies[], int leaders[], CertifiedDecision[] cDecs, TOMMessage[][] requests)ofServiceReplica, and the console result is always1. Similarly,commands.lengthalways equals to 1 inappExecuteBatchofThroughputLatencyServer.So I wonder how to make consensus on a batch of messages instead of one in microbenchmarks.