I've set up a ServiceBus Relay with Microsoft Azure. I'm connecting to this with a HTTP backend handling incoming GET and POST requests hitting the Relay.
Now, this works just fine. My issue though is that the max concurrency I can get is 2 simultaneous requests, i.e my backend will only ever receive 2 requests at the same time, if there are more requests they will be stalled until the previous requests have been handled & completed. I've tried increasing concurrency with a service behavior but this seems to be ignored, but lowering the concurrency to 1 seems to be working with the settings. So I'm guessing this is some kind of limit imposed by the actual relay!? But could that really be? Only 2? In my scenario this makes the relay unusable as the requests have to do time consuming processing (2 seconds) which can not be delayed and requires an immediate response. I therefore can not simply store the request and process them like a queue.
How can I scale this out? Add more relays and connect to them all?