Live data from Hacker News

Reply to Aphyr attack on Redis Sentinel

antirez.com

31–40 of 42 posts

Re: Reply to Aphyr attack on Redis Sentinel

#31
post #12

Earlier quoted context omitted.

It is extremely unlikely that any pressure was put on the HN admins by VMWare or anyone else to get stories scrubbed. It's almost as unlikely that VMWare gives a shit about stories about Redis.

It's not unlikely they got a bunch of (unjust) flags.

Based on pressure from VMWare? No, that's extraordinarily unlikely.

Re: Reply to Aphyr attack on Redis Sentinel

#33
post #7
post #4

Tangentially related: In the PostgreSQL evaluation[0], Aphyr noticed that, if a packet confirming a transaction is dropped, the client ends up in a deadlock. Does PostgreSQL keep a record of the past transactions, and their success or failure. If so, is it possible to query it? [0] http://aphyr.com/posts/282-call-me-maybe-postgres

Yes, you can recover from lost acknowledgements by asking for the transaction ID from postgres before committing--or by making up your own flake ID and writing it to a table. Given a queue with at-least-once delivery (which includes, say, durable storage on the client), you can check for the presence of that ID at a later time and re-apply the transaction to recover from network errors safely. The transaction ID does…

Hey! I didn't expect you to chime in right here.

Thanks for the explanation.

Re: Reply to Aphyr attack on Redis Sentinel

#34

It's very refreshing to see here that "attack" is not used in the way that one might expect from just the headline, meaning "a possibly unwarranted criticism that I didn't like or found unfair, or that I am taking personally".

I am endlessly impressed with how antirez responds to any critique of Redis that I've ever seen. He's always taken it as a positive, and looked for the truth in the critique, rather than searching for something to be wrong and try to discredit the critique.

My opinion of him and the Redis project increases further every time.

Re: Reply to Aphyr attack on Redis Sentinel

#35

Earlier quoted context omitted.

Since the jobs we're locking can have somewhat inconsistent times we're actually using an implementation where the tasks can get a lock with a time limit and can extend their lock so long as they still have it, so they do potentially auto-release. Even given this, bad lock timing (not that likely) or a crash (more likely) could let inconsistency in. Shrugs Like I said, my problem is not really Redis's. If I can't tru…

We're about to open source a similar deal (redis-based "soft guarantee" mutexes) -- ours is written in Python and mostly used as a way to coordinate (very frequent) parallel task execution a la CountDownLatch, so 100% reliable exclusion in the face of failure isn't critical. I'd be interested to hear about your implementation if you can share (email is HN username at gmail.com)

I sent you a rather quick email.

Re: Reply to Aphyr attack on Redis Sentinel

#36
post #27
post #15

Earlier quoted context omitted.

Aphyr, this is very lame, it's not common to see a work like what you did, and none of your stories hit the HN front page? I don't know what to think, but I hope that at least my post will help to show more people your awesome work.

I think Aphyr's series was a little too meaty for the general HN audience (of today). Talking about things like the FLP impossibility result, CAP theorem and specifying protocols with TLA+ may be a bit over the heads of many HN readers - clearly, people would rather read stories about the latest funding round, acquisition or frontend UI framework than a substantive article on distributed systems.

It's not fair to imply that these thing are over the heads of HN readers. There are plenty of smart people that just might not care about distributed systems enough to read through. Does my lack of reading medical journals speak to my ability to read/comprehend them?

Re: Reply to Aphyr attack on Redis Sentinel

#40
post #39

DRBD? http://drbd.org/

Same limitations as any asynchronously replicated system; if both nodes diverge during a partition, you'll probably have to drop one's writes. http://aphyr.com/posts/287-asynchronous-replication-with-fai...

Right. By operating at the block level it's a little more portable than most of the solutions discussed, though. Worth people's consideration, IMHO.
Post reply on HN