logoalt Hacker News

lateforworkyesterday at 3:08 PM2 repliesview on HN

Most RDBMSs offer serializable isolation if you need it. Often you don't need it. The downside of using serializable isolation unnecessarily is reduced concurrency and throughput due to increased coordination between transactions.


Replies

vvernyesterday at 11:31 PM

Still, I think it’s the right default to start with serializable. Then when you have performance issues you can think long and hard about whether relaxed isolation levels will work in a big free way. Better to start with a correct application.

show 1 reply
bddickenyesterday at 9:54 PM

Yep. Its a wonderful capability to have for some situations, but for 90% of applications SERIALIZABLE isolation is overkill.