Skip to content

Understanding transactions / read consistency #1853

Answered by hlinnaka
pH14 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! Very intrigued by Neon and was curious to hear about what kind of support it has / plans to have for transactions.

Should we expect all the same transaction isolation levels as Postgres?

Yes.

Do read-write transactions scale with compute nodes, or does Neon rely on a single primary for all writes (and if so, how does primary election work / handle failovers)?

It's single-writer. We haven't implemented the high availability parts yet, so there is no failover yet. However, due to separation of compute and storage, it's actually pretty fast to just spawn a new primary if the old one dies.

There is a consensus algorithm in the safekeepers that ensures that only one primary can be g…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hlinnaka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants