(no title)
havkom | 10 months ago
Software developers nowadays barely know about transactions, and definitely not about different transaction models (in my experience). I have even encountered "senior developers" (who are actually so called "CRUD developers"), who are clueless about database transactions.. In reality, transactions and transaction models matter a lot to performance and error free code (at least when you have volumes of traffic and your software solves something non-trivial).
For example: After a lot of analysis, I switched from SQL Server standard Read Committed to Read Committed Snapshot Isolation in a large project - the users could not be happier -> a lot of locking contention has disappeared. No software engineer in that project had any clue of transaction models or locks before I taught them some basics (even though they had used transactions extensively in that project)..
shivasaxena|10 months ago
Makes me sad, since I work mostly in retail and and encounter systems that are infested with race conditions and simila errors: things where these isolation levels would be of great help.
However it's mostly engineers at startups, I have a very high opinion of typical Oracel/MSSQL developers at BigCos who at least have their fundamentals right.
derivagral|9 months ago
Clearly it worked for them, but I spent a few different stints cleaning up after developers who didn't know this sort of thing.
icedchai|10 months ago
ljm|10 months ago
I’ve seen this work out terribly at certain points in my career.
jacobsenscott|10 months ago
whazor|10 months ago
But generated code by a LLM will likely also have bugs that could be fixed with transactions.
baq|10 months ago
fuy|10 months ago
belter|10 months ago