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

Question about "Using Atomic Transactions to Power an Idempotent API" #248

Closed
bruno- opened this issue Feb 27, 2020 · 1 comment
Closed

Comments

@bruno-
Copy link

bruno- commented Feb 27, 2020

Hi,

you have great content on your blog. I especially like (and learn from) your articles related to databases.

I have a question related to the article: https://brandur.org/http-transactions
Is there a resource you'd recommend to learn more about using DB transactions and isolation levels in (web) applications?

I've been reading about isolation levels lately. But it's all theoretical - just showing DB features. Meaningful examples, how to apply those DB features to applications, are scarce.
If you have a resource (blog, book, something else) to recommend on this topic in the vein of your article linked above I'd be grateful!

Thanks

@brandur
Copy link
Owner

brandur commented Mar 16, 2020

Hey Bruno, sorry for the really late reply on this!

Good question, and thank you for reading!

I've been reading about isolation levels lately. But it's all theoretical - just showing DB features. Meaningful examples, how to apply those DB features to applications, are scarce.
If you have a resource (blog, book, something else) to recommend on this topic in the vein of your article linked above I'd be grateful!

I wish I had something better for you here, but I'd still reference the Postgres docs on isolation levels as the best canonical source of reading around.

There are a few other decent blog posts online, but like those docs they tend to focus more on the technical aspect of isolation levels than how to build applications with them (and you've probably read them). Two I'd call out from large-ish companies are:

I've been looking for a book that covers this kind of thing in detail, but haven't found one to date. My hypothesis is that the intersection between know how on isolation levels and people that practically architecture apps is a far smaller specialization than you'd hope. There are a lot of technical database people who know about isolation levels and not much about building applications, and there are a lot of people who build applications and who don't know much about their underlying databases, but people (and by extension published material) with significant experience in both are relatively rare.

Anyway, going to close this out for now, but let me know if you find something!

@brandur brandur closed this as completed Mar 16, 2020
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