Re:Best practices for REST API design (2020)
by adamscybot on Monday February 22, 2021 @01:31PM
(#26228306)
What if you need that set of read/write operations to happen in one database transaction?
[ Parent
| on HN ]
Re:Best practices for REST API design (2020)
by cunac on Monday February 22, 2021 @01:38PM
(#26228448)
in my experience it is usually not required and not desirable to have distributed transaction where transaction coordinator is your remote client. It is also habitual behaviour, you are used to ACID so it must be that ACID is required. Currently have that type of discussions at work where people want to have atomic consistency across distributed systems just because mental model is easier. Whenever eventual consistency raises ugly head people get worried :)