Hacker News new | ask | show | jobs
by downut 814 days ago
Yeah, um, there's a difference between "the client" and "multiple clients". Multiple clients racing can't be fixed.

I begin to wonder about this programming culture. Speed at generating LOC, doesn't necessarily have to work IRL...

1 comments

> Multiple clients racing can't be fixed.

Really? You can't think of a single way for multiple clients to operate on the same data without racing? (Here's a hint if you're still having trouble: https://github.com/memcached/memcached/wiki/Commands#cas.)

Now to in order to multiply a sequence of numbers correctly in a "high performance" shared store, you have external process synchronization. Just awesome. Thank you for the lesson. I had no idea concurrent processing could be so easy.