-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unusual throttling behavior in DDS #47042
Comments
/cc @bkonyi BTW the first few shorter |
@elliette can you try adding a 1s delay between the stream listen requests and see if those times go down? There's some synchronization logic around the stream management which might be slowing things down. |
Hi! Sure, here are the times with and without a 1 second delay between them. It does look like the times go down. Without a delay:
With a 1 second delay:
|
Yeah, that makes sense then. We're seeing some lock contention here. I can probably make this synchronization a bit smarter so we only ever lock around |
There is odd throttling behavior on some of the requests sent from DevTools when running DWDS with
spawnDds
set to true.I’m measuring the time for each of the stream requests here to complete.
With
spawnDds
set to true, the first few requests complete relatively quickly (100 ms), and the others are significantly slower (300 ms).With
spawnDds
set to false, all of the requests take around 200 ms.The text was updated successfully, but these errors were encountered: