-
Notifications
You must be signed in to change notification settings - Fork 26
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
Clarity around event hub partition config #15
Comments
Back from holidays today, so here we go.
I will modify the docs to make this clearer. |
Thanks @sebastianburckhardt The Azure Storage TaskHub characteristics have very much become engrained to me now so I need to reset that for Netherite. Another question With the current Azure Storage impl. It’s very easy to deduce the amount of concurrency in Entities (dictated by the partition count) and Activities (what ever the host scale-out limit is set to). What is the equivalent in Netherite? Is it simply the total number of partitions in the With regard to Activities running in Netherite, I understand that you don’t get the same infinite scale out as you might with Consumption Plan + Azure Storage impl, as concurrency is controlled by the EH partitions instead of the competing consumer pattern. Previous guidance on Activities was “do whatever long running/complex stuff in an Activity” - does this guidance somewhat change in Netherite, as long running Activities will be reducing the overall throughput of the entire TaskHub, specifically processing Orchestrations and Entities? |
There are two types of limits:
The guidance on how to decompose orchestrations and activities does not change, the same rules apply. We are trying to keep the programming model mostly the same. In particular, we are likely to implement support for infinite scale on activities at some point. That said, if you need more scale-out for some activity function (such as a CPU-heavy computation) the currently best solution is to convert the function into an Http trigger, and then call that Http trigger using |
This is now much simpler: the Event hubs are now automatically created; you only need to create the event hubs namespace. I am separately tracking the concern about activity scaling in #18. |
The docs state you need
partitions
with 1-32 partitions. We recommend 12 as a default.clients0
,clients1
,clients2
andclients3
with 32 partitions each.Should this be
clients0
,clients1
,clients2
andclients3
with always 32 partitions each.or
clients0
,clients1
,clients2
andclients3
with 32 partitions each, or whatever you set for thepartitions
event hub i.e. 12 as per the recommendationAlso, should these partition counts be linked in anyway to the
partitionCount
configuration inhost.json
, or is that completely independent of this event hub configuration?The text was updated successfully, but these errors were encountered: