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

关于loadgen中并发的计数方式的疑问 #2

Closed
wangjinbei opened this issue May 10, 2017 · 1 comment
Closed

关于loadgen中并发的计数方式的疑问 #2

wangjinbei opened this issue May 10, 2017 · 1 comment

Comments

@wangjinbei
Copy link

书中,loadgen的并发设计是根据过期时间/时间间隔的方式~
想请问:为何不直接使用for循环concurrency次+timeout的形式来处理呢?这样不是免去了tick的使用?

@hyper0x
Copy link
Contributor

hyper0x commented Jan 26, 2019

过期时间+时间间隔的方式更容易控制吞吐量。

@hyper0x hyper0x closed this as completed Jan 26, 2019
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

2 participants