Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make simulator Great Again! #8135

Open
HuSharp opened this issue Apr 29, 2024 · 0 comments
Open

Make simulator Great Again! #8135

HuSharp opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
type/development The issue belongs to a development tasks

Comments

@HuSharp
Copy link
Member

HuSharp commented Apr 29, 2024

Development Task

  • Currently, we have many components to simulate the interaction with pd, pd-api-bench, pd-tso-bench, pd-heartbeat-bench, pd-simulator. We can integrate them step by step, with lower learning costs and easier interaction testing of various pd's.
  • After that we can provide pd the same specification machine to deploy the real pd under the big cluster, simulate the request number of TiDB/TiKV + TiKV heartbeat heartbeat report + all kinds of scheduling for the region and so on.

mock TiKV data to archive the following goals:

  • can balance region...
  • can support three forms node: meta-node/simulator(simple raft)/real-tikv
  • support unified interface to interact with real-tikv

mock TiDB&TiKV API

existed tool usages like

./bin/pd-api-bench -http-cases GetRegionStatus-1+1,GetMinResolvedTS-1+1 -client 1 -debug true

mock TiKV heartbeat/TSO

existed tool usages like
./bin/pd-heartbeat-bench --config=./tools/pd-heartbeat-bench/config-template.toml --pd-endpoints http://127.0.0.1:2379

Others

  • support front operator
  • use tiup

Related

#5468 extend simulator
#6922 extend API bench

@HuSharp HuSharp added the type/development The issue belongs to a development tasks label Apr 29, 2024
@HuSharp HuSharp self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/development The issue belongs to a development tasks
Projects
None yet
Development

No branches or pull requests

1 participant