Concurrency control in business transaction terms usually involves generating and maintaining locks on data stores, such as relational databases.
并发控制在业务事务术语中通常涉及生成和维护数据存储上的锁,例如关系数据库。
Moreover, there are many services that do not have concurrency control at all, which may also lead to inconsistent data.
此外,有许多不具备并发控制的服务,这也可能导致不一致的数据。
Optimistic locking is an extremely efficient concurrency control method that guarantees data integrity without placing any physical lock in the database.
乐观锁是一个极其有效的并发性控制方法,它可以确保数据完整性而又无需在数据库中放置任何物理锁。
应用推荐