You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Add perf test for transaction. Describe the solution you'd like
A transaction mainly includes the production and consumption of messages. So we can use a transaction including production and consumption as a unit, randomly abort and commit.
The performance indicators are:
Total number of transactions.
Number of transactions per second
Total number of messages
Number of messages per transaction.
Number of messages per second
The ratio of abort/commit
Describe alternatives you've considered
Separate production and consumption, so that each transaction only contains production or consumption, read-only write-only or read-write
One producer per topic, the producer will execute several transactions, and each transaction produces a fixed number of messages. The number of transactions executed by each producer can be set, if not set, it will be executed until it times out.
Multiple subscriptions per topic, one consumer per subscription . The consumer additionally opens the transaction to confirm the message
The granularity of the transaction in the producer will affect the rate at which the consumer receives data, and the rate of receiving and sending can be compared. Multiple consumers may affect this comparison
Activity
liangyepianzhou commentedon Aug 25, 2021
@codelipenghui @congbobo184 I sincerely hope that you can help to take a look at this solution when you are free, and give you valuable comment
liangyepianzhou commentedon Sep 5, 2021
solution
[Transaction] Add transaction perf (#11933)
[Transaction] Add transaction perf (apache#11933)
[Transaction] Add transaction perf (apache#11933)
[Transaction] Add transaction perf (apache#11933)
[Transaction] Add transaction perf (#11933)