-
Notifications
You must be signed in to change notification settings - Fork 728
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
Added example for limiting workflow concurrency in .NET fan-in/out example #3986
Closed
WhitWaldo
wants to merge
303
commits into
dapr:v1.12
from
WhitWaldo:limit-workflow-concurrency-dotnet
Closed
Changes from 3 commits
Commits
Show all changes
303 commits
Select commit
Hold shift + click to select a range
cc3d110
Merge pull request #3910 from JoshVanL/preview-feature-component-hot-…
hhunter-ms 3a676db
Apply suggestions from code review
elena-kolevska ae4e137
Feature/add-kafka-pubsub-schema-registry (#3946)
passuied b0dafe0
fix formatting (#3950)
passuied de0f222
Merge branch 'v1.13' into error-codes
msfussell d71bd4b
Apply suggestions from code review
elena-kolevska e16d22f
Small fixes after review
elena-kolevska 63858ae
Small update
elena-kolevska 11ab77a
update howtos and patterns
hhunter-ms cb78f17
add link to js sdk
hhunter-ms cbe1276
Merge branch 'issue_3869' of https://github.com/hhunter-ms/docs into …
hhunter-ms 216679b
Merge branch 'v1.13' into issue_3869
hhunter-ms fd58074
fix localized link
hhunter-ms b66db73
Merge branch 'issue_3869' of https://github.com/hhunter-ms/docs into …
hhunter-ms 29fc98b
Add related links
elena-kolevska e344601
Merge pull request #3908 from elena-kolevska/error-codes
hhunter-ms 5027a74
tweak for limitations
hhunter-ms c2b7342
Merge branch 'v1.13' into issue_3868
hhunter-ms 0fcbd0a
upmerge
hhunter-ms 72e139d
Merge pull request #3976 from hhunter-ms/upmerge_01-26c
hhunter-ms 9ab5a8b
prep 1.13 for release
hhunter-ms fab5b19
Update limitation for js
kaibocai da0fd19
Update workflow-features-concepts.md
kaibocai af916d6
add monitor pattern
hhunter-ms 89ca6dd
Merge branch 'v1.13' into issue_3869
hhunter-ms 3407121
Added example for limiting workflow concurrency in .NET
WhitWaldo 557e7b9
Added missing close tab markup and surrounding tabs
WhitWaldo 63c6c3f
Merge branch 'v1.12' into limit-workflow-concurrency-dotnet
hhunter-ms f949c5a
Update daprdocs/content/en/developing-applications/building-blocks/wo…
kaibocai d3af22a
update diagrams for middleware
hhunter-ms 017bb62
[1.13] Add docs for SQLite name resolver
ItalyPaleAle 4764458
add kafka aws iam to docs
famarting 93d2bf6
Merge branch 'v1.13' into patch-2
hhunter-ms f268845
Apply suggestions from code review
ItalyPaleAle 59ed30e
Merge pull request #3982 from kaibocai/patch-2
hhunter-ms 0ff861c
Merge branch 'v1.13' into issue_3869
hhunter-ms e1d36a3
Update docs for low-cardinality metrics
ItalyPaleAle e01c390
Merge branch 'v1.13' into sqlite-nr
msfussell 394b3db
Update daprdocs/content/en/reference/components-reference/supported-n…
ItalyPaleAle c462418
[1.13] Azure Blob Storage v2 docs
ItalyPaleAle 2419ef9
Merge branch 'v1.13' into kafka-aws-iam
msfussell d856339
Update daprdocs/content/en/operations/observability/metrics/metrics-o…
ItalyPaleAle 701cefa
Apply suggestions from code review
ItalyPaleAle d9187d8
Updated configuration-schema
ItalyPaleAle 6d9e277
Merge branch 'v1.13' into metrics-cardinality
ItalyPaleAle 4b69580
[1.13] Document actor services flags
ItalyPaleAle 1934dca
update go snippets
hhunter-ms 9218028
Merge branch 'issue_3868' of https://github.com/hhunter-ms/docs into …
hhunter-ms 6f67dc9
Merge branch 'v1.13' into issue_3868
hhunter-ms e49c436
add quickstart
hhunter-ms 4fefea7
Merge branch 'issue_3868' of https://github.com/hhunter-ms/docs into …
hhunter-ms 7dea32b
Adding recursive terminate/purge in workflow API (#3969)
shivamkm07 b2cbc2d
Update daprdocs/content/en/reference/components-reference/supported-p…
msfussell 74fcb49
Update daprdocs/content/en/reference/components-reference/supported-p…
msfussell 48e2f46
Update daprdocs/content/en/reference/components-reference/supported-p…
msfussell 7a6f384
Update daprdocs/content/en/reference/components-reference/supported-p…
msfussell 33c57ff
Merge branch 'v1.13' into kafka-aws-iam
msfussell 80de6e0
Merge pull request #3992 from famarting/kafka-aws-iam
hhunter-ms 7419cd3
Merge branch 'v1.13' into metrics-cardinality
hhunter-ms d6e0a8b
Merge branch 'v1.13' into sqlite-nr
ItalyPaleAle 621c5ff
Update daprdocs/content/en/operations/observability/metrics/metrics-o…
msfussell 52f1705
Merge pull request #3995 from ItalyPaleAle/metrics-cardinality
hhunter-ms 3d303ec
Update daprdocs/content/en/reference/components-reference/supported-n…
ItalyPaleAle 9db5173
Update daprdocs/content/en/reference/components-reference/supported-n…
msfussell ca3b627
Update daprdocs/content/en/reference/components-reference/supported-n…
msfussell a360f65
Update nr-sqlite.md
msfussell 82e72d0
Update daprdocs/content/en/reference/components-reference/supported-n…
msfussell 91b0f3a
Merge branch 'v1.13' into sqlite-nr
hhunter-ms 8e32a28
Apply suggestions from code review
ItalyPaleAle c6aca39
Merge pull request #3991 from ItalyPaleAle/sqlite-nr
hhunter-ms c6a65c6
Merge branch 'v1.13' into issue_3869
hhunter-ms 9a92b51
Merge branch 'v1.13' into actors-services
ItalyPaleAle a45e25f
add supported SDKs
hhunter-ms a63d328
add name resolution to config overview and schema
hhunter-ms 330be0a
update titles, add links, update service invo overview
hhunter-ms 525baca
Update daprdocs/content/en/reference/components-reference/supported-s…
ItalyPaleAle 98dca03
mark edit
hhunter-ms 7f45c9a
Merge branch 'issue_3869' of https://github.com/hhunter-ms/docs into …
hhunter-ms 0f50934
mike initial review
hhunter-ms 664cff1
Merge branch 'v1.13' into issue_3868
hhunter-ms 6efa709
remove older versions
hhunter-ms 47d7e67
Merge branch 'v1.13' into azure-blob-v2
msfussell 90d7be8
Update daprdocs/content/en/reference/components-reference/supported-s…
ItalyPaleAle 3018bad
add js limitation
hhunter-ms fdd4cbf
Sentry Token Validator spec
JoshVanL 5202af1
[1.13] Docs for PostgreSQL v2 state store (#3996)
ItalyPaleAle ac83ec9
Merge branch 'v1.13' into azure-blob-v2
hhunter-ms 568a283
Merge pull request #3997 from ItalyPaleAle/azure-blob-v2
hhunter-ms 2961bc4
mark review
hhunter-ms 9b22782
Merge branch 'v1.13' into issue_4005
hhunter-ms 87bfa45
forgot one
hhunter-ms 3f79553
Merge branch 'issue_4005' of https://github.com/hhunter-ms/docs into …
hhunter-ms e5c8721
Merge pull request #4007 from hhunter-ms/issue_4005
hhunter-ms df7600f
Merge branch 'v1.13' into 1.13_versions_navbar
hhunter-ms cc5095b
remove nats streaming
hhunter-ms 15e69a5
Merge pull request #4010 from hhunter-ms/1.13_versions_navbar
hhunter-ms cd3f337
Merge branch 'v1.13' into issue_3998
hhunter-ms 7c09f2c
Merge pull request #4019 from hhunter-ms/issue_3998
hhunter-ms 552e12b
Merge branch 'v1.13' into actors-services
hhunter-ms 5749b2e
Merge branch 'v1.13' into issue_3869
hhunter-ms f439ffc
Merge pull request #3896 from hhunter-ms/issue_3869
hhunter-ms 1bab32e
Add workflow backend documentation
ASHIQUEMD 45b01ec
Adds review comments
JoshVanL bd75fa6
Merge branch 'v1.13' into issue_3868
hhunter-ms 86acb41
Merge branch 'v1.13' into actors-services
msfussell 8fcb6c2
Merge branch 'v1.13' into sentry-token-validator
msfussell 649e91f
Workflow terminate/purge: remove `non_recursive` query option (#4008)
JoshVanL 8dddbc2
Merge branch 'v1.13' into actors-services
msfussell bcd02b4
Merge branch 'v1.13' into sentry-token-validator
hhunter-ms f33a9b7
Merge pull request #4017 from JoshVanL/sentry-token-validator
hhunter-ms 47dc838
Merge branch 'v1.13' into actors-services
hhunter-ms 750288c
Merge pull request #4002 from ItalyPaleAle/actors-services
hhunter-ms 918fe00
Merge branch 'v1.13' into wfbackend-docs
hhunter-ms d2ec174
Merge branch 'v1.13' into issue_3868
hhunter-ms 90bbf6f
Clarify managed identities doc (#4024)
hhunter-ms 96b1b8c
Update daprdocs/content/en/developing-applications/building-blocks/wo…
ASHIQUEMD 4cdb9be
Update daprdocs/content/en/developing-applications/building-blocks/wo…
ASHIQUEMD b51a4bd
Update daprdocs/content/en/developing-applications/building-blocks/wo…
ASHIQUEMD c71131d
Update daprdocs/content/en/developing-applications/building-blocks/wo…
ASHIQUEMD 12ec4ef
Update daprdocs/content/en/reference/components-reference/supported-w…
ASHIQUEMD 892ad75
Merge branch 'v1.13' into wfbackend-docs
ASHIQUEMD 8ad5927
Update daprdocs/content/en/reference/components-reference/supported-w…
ASHIQUEMD 2d5d8e1
Add workflow backend documentation
ASHIQUEMD c5ee281
update quickstart, start updating patterns
hhunter-ms c3a2b69
merge conflict
hhunter-ms 04f6a22
Merge branch 'v1.13' into issue_3868
hhunter-ms 6d9a344
add more pattern examples
hhunter-ms 233c4f3
Merge branch 'issue_3868' of https://github.com/hhunter-ms/docs into …
hhunter-ms ae90b50
Update daprdocs/content/en/developing-applications/building-blocks/wo…
msfussell 020324e
Merge pull request #4028 from ASHIQUEMD/wfbackend-docs
hhunter-ms 1e00080
Merge branch 'v1.13' into issue_3868
hhunter-ms 8204495
add fan in/fan out
hhunter-ms e7a16cb
Merge branch 'issue_3868' of https://github.com/hhunter-ms/docs into …
hhunter-ms 8d356c3
clarify support in the docs for cosmosdb
hhunter-ms 101505a
Hot reloading: add notes about the behaviour and exceptions (#4027)
JoshVanL dccae02
Added example for retrieving bulk deserialized items matching PR #117…
WhitWaldo 047e71c
Update daprdocs/content/en/developing-applications/building-blocks/st…
WhitWaldo d9cbcba
Update daprdocs/content/en/developing-applications/building-blocks/wo…
hhunter-ms 66b8bdd
Merge branch 'v1.13' into issue_3868
hhunter-ms e36ecc1
Update daprdocs/content/en/developing-applications/building-blocks/wo…
hhunter-ms b9a8038
updates per mark and marc
hhunter-ms 43dd7f7
Merge branch 'issue_3868' of https://github.com/hhunter-ms/docs into …
hhunter-ms 529ac3f
Merge branch 'v1.13' into issue_3962
hhunter-ms 3c6c961
Update daprdocs/content/en/developing-applications/building-blocks/wo…
hhunter-ms 19d4975
Merge pull request #3895 from hhunter-ms/issue_3868
hhunter-ms 7f0ec01
Merge branch 'v1.13' into bulk-retrieval-deserialization
hhunter-ms e2ee6eb
remove explicit callout for cosmosdb
hhunter-ms 52dfcfb
Merge branch 'issue_3962' of https://github.com/hhunter-ms/docs into …
hhunter-ms 8ccc3df
Merge pull request #3843 from WhitWaldo/bulk-retrieval-deserialization
hhunter-ms f4f08ad
Merge branch 'v1.13' into issue_3962
hhunter-ms 42fdb2b
initial add, need to create diagram to replace placeholder
hhunter-ms 9a5172f
Merge branch 'v1.13' into issue_3704
hhunter-ms 724fac9
Update daprdocs/content/en/operations/components/certification-lifecy…
hhunter-ms 8de8035
Update daprdocs/content/en/operations/components/certification-lifecy…
hhunter-ms 5693896
SDK forward and backward compatibility (#4036)
hhunter-ms 156e663
Merge branch 'v1.13' into issue_3962
hhunter-ms 2fb2ed3
update diagram
hhunter-ms 86dfaa6
Merge branch 'issue_3704' of https://github.com/hhunter-ms/docs into …
hhunter-ms 8630af9
Merge pull request #4035 from hhunter-ms/issue_3962
hhunter-ms 4abce50
add diagram
hhunter-ms e6cc7fe
Merge branch 'v1.13' into issue_3704
hhunter-ms 464d3c7
add go limitions
mikeee 03be8cb
Merge branch 'v1.13' into wf-docs
mikeee a4dfdaf
[Workflow] JS quickstart docs (#4034)
hhunter-ms 23b530c
Update sidecar-health.md
msfussell 3f24031
Update health_api.md
msfussell 633b052
Merge branch 'v1.13' into issue_3704
hhunter-ms 8aecd50
Merge branch 'v1.13' into wf-docs
mikeee 06e114e
Added errorIfNot2XX option to HTTP binding docs (#3741) (#4056)
artursouza bb41c4a
Merge branch 'v1.13' into wf-docs
mikeee 103ea58
updates per mark
hhunter-ms e5f9dc0
Merge branch 'issue_3704' of https://github.com/hhunter-ms/docs into …
hhunter-ms e176899
edit and add cross-linking
hhunter-ms 25739a0
Merge branch 'v1.13' into issue_3704
hhunter-ms 658f3a3
add maxConcurrentHandlers to Pulsar (#4057)
yaron2 6135b88
Merge branch 'v1.13' into wf-docs
hhunter-ms 0122d1f
Add reminders protobuf section (#4058)
yaron2 f3785cb
add external interaction recommendation
mikeee a0d3b23
Merge branch 'v1.13' into wf-docs
mikeee cf4a0c2
Merge branch 'v1.13' into issue_3704
msfussell 19d807b
Merge pull request #4052 from mikeee/wf-docs
hhunter-ms d948964
mark review
hhunter-ms d5dde4d
Merge branch 'issue_3704' of https://github.com/hhunter-ms/docs into …
hhunter-ms 735029f
Merge branch 'v1.13' into issue_3704
hhunter-ms 4cf019b
resolve conflicts
hhunter-ms 35de261
python
hhunter-ms b35712a
java
hhunter-ms 51ffa81
dotnet
hhunter-ms c9f557f
js
hhunter-ms 0f247bc
go
hhunter-ms f0df156
update with more slides
hhunter-ms 22bfd47
Merge branch 'v1.13' into issue_3965_diagrams
hhunter-ms c04f63e
Merge pull request #4065 from hhunter-ms/submodules_03-04
hhunter-ms fbd1595
Merge branch 'v1.13' into upmerge_03-04
hhunter-ms f28113c
Merge pull request #4064 from hhunter-ms/upmerge_03-04
hhunter-ms 7b51461
Merge branch 'v1.13' into issue_3965_diagrams
hhunter-ms 9c5c8ba
Merge pull request #3988 from hhunter-ms/issue_3965_diagrams
hhunter-ms c1a840a
Merge branch 'v1.13' into issue_3704
hhunter-ms 941a664
Metric Cardinality: fix example setting increased cardinality. (#4062)
JoshVanL 50fa51a
Merge branch 'v1.13' into issue_3704
msfussell e4c904b
link to js code
hhunter-ms c518c13
Merge branch 'issue_3704' of https://github.com/hhunter-ms/docs into …
hhunter-ms 0632429
Merge pull request #4043 from hhunter-ms/issue_3704
hhunter-ms 77b8c27
update support doc
hhunter-ms 080f39a
mark 1.10 as unsupported
hhunter-ms db778bc
Update daprdocs/content/en/operations/support/support-release-policy.md
hhunter-ms b863311
Merge branch 'v1.13' into issue_3965_1.13
hhunter-ms 72a2b92
Merge pull request #3980 from hhunter-ms/issue_3965_1.13
hhunter-ms 7ac7f54
forgot website root
hhunter-ms 1e586f3
update
hhunter-ms 97a605f
Merge pull request #4070 from hhunter-ms/issue_3965_websiteroot
hhunter-ms ef9a5a3
Update secrets-scopes.md
newbe36524 0465651
Update gRPC-integration.md
newbe36524 91abd3e
Update open-telemetry-collector-jaeger.md
newbe36524 14044ac
Update zipkin.md
newbe36524 9628701
Update kubernetes-job.md
newbe36524 a72e283
Update middleware-bearer.md
newbe36524 dd3dfb0
Merge pull request #4080 from newbe36524/v1.13
hhunter-ms 326a54e
add translation in zh-Hans for v1.13
newbe36524 96164a8
fix copy/paste typo
hhunter-ms 788a943
add graceful shutdown duration section
hhunter-ms f4b0938
Merge pull request #4082 from newbe36524/v1.13
hhunter-ms f1d1124
Remove memory limits in production (#4091)
alicejgibbons bb0f15c
Merge branch 'v1.13' into issue_4081
marcduiker e7b3d95
Update table with features
marcduiker 5c92fd5
Adjust documentation per `rawPayload=true` requirements (#4086)
passuied 18a6d63
Update confusing examples for subscribePollInterval
tlund101 c3c58bf
Merge branch 'v1.13' into update-sdk-feature-table
marcduiker 3b7e997
Update holopin.yml (#4108)
riosengineer 58b1fb5
adding Dapr Repository Index for contributing (#4088)
AnnuCode 20fd7a9
Merge branch 'v1.13' into patch-2
msfussell b94d959
Edit this page link directed to the wrong branch (#4101)
tlund101 bf7120e
Add 1.13.1 and 1.13.2 to the docs (#4110)
hhunter-ms 95179f9
Add Diagrid conductor to integrations (#4112)
marcduiker 0ef3ceb
Merge branch 'v1.13' into update-sdk-feature-table
msfussell 3e8db2f
Update daprdocs/content/en/developing-applications/sdks/_index.md
marcduiker b951391
Add font usage for MacOS (#4094)
marcduiker 70781fb
Merge branch 'v1.13' into patch-2
hhunter-ms d76f728
Merge branch 'v1.13' into update-sdk-feature-table
hhunter-ms b80bde3
Merge pull request #4102 from tlund101/patch-2
hhunter-ms b09ef71
Merge branch 'v1.13' into update-sdk-feature-table
msfussell c75daf0
Merge pull request #4095 from marcduiker/update-sdk-feature-table
hhunter-ms 8f59430
Merge branch 'v1.13' into issue_4081
hhunter-ms 78cd66a
Merge pull request #4083 from hhunter-ms/issue_4081
hhunter-ms 766478c
Merge branch 'v1.13' into issue_4063
hhunter-ms a107511
Merge pull request #4084 from hhunter-ms/issue_4063
hhunter-ms 0bfa02b
Clarify that disabling kubernetes built in secret store can only be d…
james-bartlett bacfeae
adding missing queueName (#4125)
hhunter-ms b1e6f32
Merge branch 'dapr:v1.13' into limit-workflow-concurrency-dotnet
WhitWaldo b046429
Updatex example, modifying sample at https://stackoverflow.com/questi…
WhitWaldo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This actually violates one of the workflow code constraints, which is that you mustn't await any task that isn't created by the context object, so unfortunately we can't use
SemaphoreSlim
for this. Instead, the right way to do this is to follow an approach similar to what is posted here for Durable Functions: https://stackoverflow.com/a/58794510/2069.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, whoops - further illustrating why it's frustrating for the docs to leave this as an exercise to the reader to do properly. I'll review your answer there and adapt it for a second attempt. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, that's a great point. 😅 Looking forward to the update! This is one of those questions we get a lot and I always kick myself for not having it properly documented somewhere. Thanks for doing this.