Skip to content
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

page 166 - stored procedures are the only way to ensure ACID #3

Closed
sikora507 opened this issue Jan 21, 2024 · 1 comment
Closed

page 166 - stored procedures are the only way to ensure ACID #3

sikora507 opened this issue Jan 21, 2024 · 1 comment

Comments

@sikora507
Copy link

Stored procedures are the only way to ensure ACID (Atomic, Consistent, Isolated, Durable) transactions
that combine multiple discrete activities into a single action that can be committed or rolled back.
You cannot use client-side code to implement transactions.

What about transactional batch operations?
Cosmos DB supports transactional batch operations within a single partition. This means you can execute a set of operations (such as inserts, updates, and deletes) in an atomic batch within a single logical partition.
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/transactional-batch?tabs=dotnet

@markjprice
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants