News for hackers. Stuff that matters.
Re:Gizzard - Twitter's open source framework for creating di... by fizx on Tuesday April 06, 2010 @11:54PM (#1246428)
Why should relational db writes not be idempotent? MySQL example:

  INSERT INTO table (id, a, b) VALUES (1,2,3)
    ON DUPLICATE KEY UPDATE a=2, b=3;

There are no comments on this comment yet.