none
Limit number of Nodes RRS feed

  • Question

  • Is there a way to limit the number of nodes created to run a function?

    I am using the ServiceBus Trigger and I can use the maxConcurrentCalls but that only applies to messages inside each node. 

    Lets say I send 30 messages to the bus and maConcurrentCalls is set to 1, I can still see 30 different Nodes (or VMs), each of them processing one single message. So in reality I am processing 30 messages in parallel instead of my goal of 1. (just an example)

    In my scenario those 30 messages are creating a bottleneck on the Oracle database throwing different kind of errors.

    So if I could limit the number of vms created to handle the work, I would be able manage that bottleneck

    Luciano.

    Monday, September 10, 2018 1:55 PM

All replies