Comments (5)
Some continuous background traffic is expected while there are active hosts. In idle state, a partition sends a message every 10 seconds to the load monitor.
Is this a consumption plan? On a consumption plan, the task hub scales to zero when everything is idle so there should not be any active hosts and you should not see any messages.
Also, the numbers you show in the picture above seem a bit high, I would expect less than 10k messages a day given that there is just one partition. This may indicate that there is some problem.
Sometimes there are issues with requests that get stuck. What does the partition table show? If your taskhub is idle, the columns Instances
, WorkItems
, Timers
, Requests
and Outbox
should be all zero.
from durabletask-netherite.
In our case, the DF stack needs to be on a VNET so we cant use consumption. Its currently on an EP2
that scales out to a max of 2 nodes.
Regarding the partition table: there are 12 records. All columns are zero except Instances
, all of which in a range between 5100 and 5350.
from durabletask-netherite.
Whoops, accidentally switched user contexts in my previous post ...☝️
Also worth noting: the load on event hub is still present. Would a taskhub reset clear this out?
from durabletask-netherite.
After resetting the task hub, the event hub traffic continued until stopping the DF function app. Once stopped:
- The task hub files and folder was recreated (as indicated in the doc)
DurableTaskPartitions
table refreshed andInstances
were set to zero- Event hub traffic dropped to nothing
After letting it sit for a short period and starting it again, it spun back up again to the same level. No orchestrations were started manually or via schedule (such as a cron trigger). All of the fields in the table you mentioned are still at zero.
I would expect less than 10k messages a day given that there is just one partition. This may indicate that there is some problem.
Our app is configured with 12 partitions as per the recommendation here. Your statement about 10k/partition makes me think we might be seeing ~120k events a day due to the 12 partitions. Is that accurate?
Also worth mentioning: our EP2 is setup to scale out to 4 nodes (not 2 as previously mentioned). Should the # of partitions typically match the node scale out setting?
from durabletask-netherite.
Your statement about 10k/partition makes me think we might be seeing ~120k events a day due to the 12 partitions. Is that accurate?
It is about 8.6k messages per partition per day so about 103k messages for 12 partitions a day.
Should the # of partitions typically match the node scale out setting?
number of partitions should be set to the MAX scaleout you want to handle, so generally larger than just the number of nodes you are running at the moment.
from durabletask-netherite.
Related Issues (20)
- Crash using medium test case HOT 14
- Partition Table Document Issue HOT 1
- Netherite with medium to large payloads performance dive HOT 8
- 409 The specified container already exists after switching to Netherite (JavaScript)
- Event Hub Client Timeouts when exceeding Event Hub limits HOT 5
- Performance drop when using external events HOT 5
- Question regarding "Cannot access a disposed object. Object name: 'FaultTolerantAmqpObject`1'." and "Client object already closed." HOT 3
- ScaleMonitor is constantly logging "An item with the same key has already been added." errors HOT 4
- `BlobNotFound` error when running the DTFx sample
- Orchestrator start timed out when `PartitionManagement` is set to `ClientOnly` HOT 2
- Part11 discarded ActivityWorkItem 11A19122 because partition was terminated HOT 2
- Startnew Async behaves strange HOT 1
- .Net function app error once deployed HOT 2
- Task Hub Client Timeout Issue when directed to Specific Partition via Orchestration Id HOT 3
- Include child instance IDs in execution history HOT 7
- Non-Deterministic workflow detected ... current replay execution hasn't (yet?) scheduled this task HOT 1
- State Corruption in FASTER storage HOT 2
- Activity is executed twice under heavy load HOT 7
- Sudden Netherite "Client request timed out" exception HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from durabletask-netherite.