dotnet-sdk icon indicating copy to clipboard operation
dotnet-sdk copied to clipboard

Bulk State

Open dream2zz opened this issue 4 years ago • 4 comments

Describe the proposal

need some methods named "SaveBulkStateAsync" and "SaveBulkStateAndETagAsync" .

in other words, we think the method name should be paired.

dream2zz avatar Nov 23 '21 02:11 dream2zz

Is this as an alternate to ExecuteStateTransactionAsync or something different? What's your use case here?

halspang avatar Dec 07 '21 00:12 halspang

yes, is as an alternate , is talking about specification

dream2zz avatar Dec 07 '21 03:12 dream2zz

@rynowak - What do you think of adding this? Technically, the Dapr runtime does support sending a list of requests to its SaveState API. Even in the SDK, we're just sending an array of a single request at a time.

This API does overlap with the transactional API, but it comes with less guarantees and opens up bulk APIs to people who don't want to use a transactional statestore. I think there's some value here, and it's a relatively small change.

halspang avatar Dec 20 '21 17:12 halspang

/assign

yash-nisar avatar Aug 23 '22 16:08 yash-nisar