Skip to content

Add perf test for transaction #11765

Closed
Closed

Description

@liangyepianzhou

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

Activity

  1. added
    type/feature
    on Aug 25, 2021
  2. liangyepianzhou commented on Aug 25, 2021

    @liangyepianzhou
    ContributorAuthor

    @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

  3. liangyepianzhou commented on Sep 5, 2021

    @liangyepianzhou
    ContributorAuthor

    solution

    • 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
    • Transaction random commit or abort
  4. added this to the 2.9.0 milestone on Sep 6, 2021
  5. modified the milestones: 2.9.0, 2.10.0 on Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type/feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions