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

Optimize the SN stress test client #229

Open
jing-git opened this issue Apr 20, 2023 · 1 comment
Open

Optimize the SN stress test client #229

jing-git opened this issue Apr 20, 2023 · 1 comment
Assignees
Labels
BDT bucky data transfer protocol Performance about performance issues SN SN Server task This is a task

Comments

@jing-git
Copy link
Collaborator

I have previously stress-tested the sn-miner service and obtained some performance data. (#164)
Now, we need to further understand the operation status of each client during the stress test, such as the response time of ping requests, the types of errors that occur, and the handling of exceptions, in order to understand the processing status of sn under extreme conditions.
So, I try improving the SN stress testing client tool to achieve the above features.

@jing-git jing-git added task This is a task BDT bucky data transfer protocol labels Apr 20, 2023
@lurenpluto lurenpluto added the SN SN Server label Apr 20, 2023
@lurenpluto
Copy link
Member

Regarding the stress test simulation, some key data of the test client need to be configured precisely.

1. The number of devices

Different DeviceIDs, generally one sn-client instance for one individual device

2. The ping interval of a single device

The default interval of bdt module is 15s, but the stress test tool can configure this interval, the default can be set to 1s

3. SN call interval

Device simulation sn call, also need to be able to configure the interval

4. The target device of sn call

To the same device call, or different device call (each call to choose a random device), should also be configurable

5. some exception simulation

For example, the wrong device public and private keys, call the target device is not online, etc., can be arranged as needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BDT bucky data transfer protocol Performance about performance issues SN SN Server task This is a task
Projects
Status: 🚧In Progress
Development

No branches or pull requests

2 participants