Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Overwhelming the queue can cause issues sending to other clients #1847

Closed
gustavo-armenta opened this Issue · 5 comments

4 participants

Gustavo Armenta David Fowler Damian Edwards Xiaohong Tang
Gustavo Armenta

Any functional impact
malicious client sending messages without any delay can cause denial of service

Minimal repro steps
Enable ServiceBus scale out in the samples app
Start N instances (usually 2-4) of the .NET client until the last client is not able to send messages

Expected result
all clients should send messages

Actual result
eventually new clients cannot send messages

David Fowler davidfowl was assigned
David Fowler
Owner

@gustavo-armenta Can you provide your sample code?

David Fowler
Owner

I can reproduce with the client sample.

Damian Edwards

We're going to remove the send queue altogether. It will be up to the application developer to handle load on the backplane based on errors it returns or other app/environment-specific logic.

David Fowler davidfowl referenced this issue from a commit
David Fowler davidfowl Added the ability to tweak the queue size.
- Turned the queue off by default.
- Allow setting the queue size in ScaleoutConfiguration.

#1847
281c538
David Fowler
Owner

@gustavo-armenta The queue size is now configurable and is 0 (disabled) by default. This doesn't fix the issue as we discussed today but it puts the problem onto the scaleout backplane directly.

Xiaohong Tang Xiaohongt was assigned
Xiaohong Tang
Collaborator

verified

Xiaohong Tang Xiaohongt closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.