Skip to content

Can we make consensus on a batch of messages in microbenchmarks? #119

Open
@chenweiyj

Description

@chenweiyj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions