RSSAmplifier

Stories by Marco Pfeiffer on Medium · Jun 14, 2022

Don’t Forget Setting Database Locks on Your Orm Entities

0
Sign in to vote or save

This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.

A huge advantage of relational databases is transactions and locking. Don’t waste it by not using it Image by author What is even the issue? As you can see, we have two separate requests that both modify the same database field. But since the second has read the entity before the first process has written its change, they both have the same starting information. That means that we lose data and…

Read on medium.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.