pythonee
V2EX  ›  问与答

没有事务的年代,大家是怎么写程序的?

  •  
  •   pythonee · Dec 22, 2013 · 3223 views
    This topic created in 4529 days ago, the information mentioned may be changed or developed.
    好吧,这个可能说起来比较多,那我们就说说MyISAM时代,大家是怎么写程序的吧,怎么做All Or Nothing的呢,当然,现在用NoSQL的人估计体会更多吧
    9 replies    1970-01-01 08:00:00 +08:00
    love
        1
    love  
       Dec 22, 2013
    都是娱乐应用要这么严肃干嘛?万一发生数据不一致又不会死。
    alexrezit
        2
    alexrezit  
       Dec 22, 2013 via iPad
    事物是什么?
    misaka
        3
    misaka  
       Dec 22, 2013 via Android
    事物是什么可以吃么?
    tedeyang
        4
    tedeyang  
       Dec 22, 2013
    乐观锁
    tedeyang
        5
    tedeyang  
       Dec 22, 2013
    悲观锁
    andy12530
        6
    andy12530  
       Dec 22, 2013
    淡定锁
    andy12530
        7
    andy12530  
       Dec 22, 2013
    除了银行业务或者支付宝金额交易,股票交易之类的关键性业务需要事务支持,

    其它的业务,你为什么非得用事务呢?

    在你的程序逻辑中不能保证他的一致性?
    Xrong
        8
    Xrong  
       Dec 22, 2013
    基本没用...没和钱扯上关系,基本没必要
    ericls
        9
    ericls  
       Dec 22, 2013 via Android
    一直用的MyISAM
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5582 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 01:23 · PVG 09:23 · LAX 18:23 · JFK 21:23
    ♥ Do have faith in what you're doing.