3 ms·
The advice I've received is to just set the isolation level to serializable and stick with that until you get performance problems, which you likely won't. If y
by giornogiovanna 7y ago
The advice I've received is to just set the isolation level to serializable and stick with that until you get performance problems, which you likely won't. If you stick to that advice, I doubt you're going to get "lots of subtle race conditions".
- mpartel 7y agoThat is good advice that is unfortunately not widely followed in most of the apps I've seen. There's also the caveat that you should be prepared to retry transactions, but for small apps it's probably fine if you don't.