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

[new feture] support client-user level rate limit #218

Open
funnyAnt opened this issue May 13, 2022 · 0 comments
Open

[new feture] support client-user level rate limit #218

funnyAnt opened this issue May 13, 2022 · 0 comments

Comments

@funnyAnt
Copy link
Contributor

funnyAnt commented May 13, 2022

By configuring max_rate_limit in user properties, achieve the effect of flow control 。Detail config as following:

"users": [
        {
            "user_name": "**",
            "password": "***",
            "namespace": "sysbench_4",
            "rw_flag": 2,
            "rw_split": 1,
            "open_rate_limit": true,
            "max_rate_limit": 1000,
            "max_token_wait_time": 10
        }
    ],
funnyAnt added a commit to funnyAnt/Gaea that referenced this issue May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant