polythene
1D

跟 etcd 学习数据库中事务隔离的实现

  •  
  •   polythene · Oct 15, 2019 · 1594 views
    This topic created in 2407 days ago, the information mentioned may be changed or developed.

    etcd 将底层 MVCC 的版本信息暴露了出来,在官方的客户端中,丧心病狂的用这些版本信息封装出了一套基于乐观锁的事务框架 stm,还实现了不同的隔离级别。

    关键是这个实现只有 300 多行代码,是我们学习数据库事务隔离级别的绝佳入门资料。

    详细分析见这里: https://blog.betacat.io/post/2019/08/learn-transaction-isolation-levels-from-etcd/

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3542 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 10:35 · PVG 18:35 · LAX 03:35 · JFK 06:35
    ♥ Do have faith in what you're doing.