XMLWordPrintableJSON

Details

    Description

      "Strong" consistency is not enough to prevent race conditions. The classic example is user account creation: we want to ensure usernames are unique, so we only want to signal account creation success if nobody else has created the account yet. But naive read-then-write allows clients to race and both think they have a green light to create.

      Attachments

        1. half-baked commit 3.jpg
          600 kB
          Jonathan Ellis
        2. half-baked commit 2.jpg
          767 kB
          Jonathan Ellis
        3. half-baked commit 1.jpg
          585 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Votes:
            5 Vote for this issue
            Watchers:
            32 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: