Live data from Hacker News

Viewing profile — pbailis

pbailis

HN member
Joined
Wed, Jan 04, 2012, 3:14 AM UTC
HN karma
257
Public activity
46 items

About pbailis

http://bailis.org/

Recent public activity

  1. comment
    Comment #36361199

    Macrobase PI here – someone squatted on that io domain a long time ago while the project was active. Once we moved to macrobase.stanford.edu, a fan apparently took interest in our …

  2. comment
    Comment #8721303

    > Hmm... Serializable isolation and concurrency go together fine and certainly don't require blocking or even locking when using MVCC and optimistic concurrency. For that matter se…

  3. comment
    Comment #5787833

    Very cool, thanks! In general, immutable data items makes NBTA much easier; there's only one element in either 'good' or 'pending' for each data item at a time. The benefit of a si…

  4. comment
    Comment #5785371

    Good questions. In the example configuration in the post (i.e., two servers with no replication), during the period between the write start and end of phase two of writes, reads ca…

  5. comment
    Comment #5785334

    Ha--good catch! I don't know if anyone else noticed that. I meant to say "within 33-4.8% of the peak throughput..." That is, we're 95.2% of the peak, not 4.8% of the peak. Fixed, t…

  6. comment
    Comment #5784926

    Post author here. Interesting take, but I'm not sure I agree, or perhaps I misunderstand. In the initial example, I represented 'good' as a set for ease of understanding, but, in p…

  7. comment
    Comment #5784867

    Post author here. Hmm. The invariant we're trying to maintain is that any write in 'good' should have its transactional "siblings" in either 'good' or 'pending' on their respective…

  8. comment
    Comment #5784811

    Thanks for the feedback--these are great points. (post author, btw) > The problem to me seems to be that the interesting problems always come across the case where updates are not …

  9. comment
    Comment #5784782

    (edit: post author, [not OP]) here. Thanks for the feedback! > I guess one of the key insights is that each data has a canonical server owner which enforces the consistency of the …

  10. comment
    Comment #5784038

    I'll also add that the metadata requirements aren't huge--typically 8 bytes for the timestamp and N*(bytes per key) for the keys. In our implementation and the benchmarks that we p…

  11. comment
    Comment #5784030

    Good questions! > Doesn't writes that commute mean that there was no contention to begin with? Ideally, if I have a balance of $100 in my account and try to spend $60 in two differ…

  12. comment
    Comment #5782095

    > Does the data remain stable, or must some additional work be performed to correct the inconsistent state? If you want client writes that reached all servers to become visible, th…

  13. comment
    Comment #5782086

    > However it doesn't appear to directly include semantics for aborting transactions which is a pretty important part of a distributed transaction protocol. Yep, I left this out to …

  14. comment
    Comment #5782064

    Yep--thanks! I've updated the post accordingly :)

  15. comment
    Comment #5653056

    There's at least one good reason for Dynamo's write-to-all and read-from-all mechanism: latency. What you've called 'W=2' in Couchbase is "write to master and at least one slave." …

  16. comment
  17. story
  18. comment
    Comment #5172264

    > if I understand correctly there's no way to avoid an extra round trip? With HATs, you only need to contact one replica for every key. This is to goal behind our definition of "hi…

  19. comment
    Comment #5172212

    Good point, and well-taken. As I mention in http://www.bailis.org/blog/hat-not-cap-introducing-highly-av... (and devote an full section to in the paper, including documented isolat…

  20. story
  21. comment
    Comment #5099770

    I think we're conflating Snapshot Isolation and MVCC (e.g., Snapshot-isolation/MVCC ). MVCC is a general concurrency control mechanism, not an isolation level. Coupling MVCC and Sn…

  22. comment
    Comment #5099308

    there are still fairly hard guarantees about things like consistency that you get with other isolation levels What do you mean by consistency ? I agree that there are many ways to …

  23. comment
    Comment #5099132

    Good points on both sides. One thing I'll point out is that many clustering, HA, and multi-master replication solutions either rely on a single master (what I think Michael means w…

  24. comment
    Comment #5099050

    Unlike "C" and "A" in "CAP," "AC&D" (specifically, "C") can't be easily separated from "I". Serializability ("I") ensures that database consistency, or maintenance of integrity con…

  25. story