Hacker News new | ask | show | jobs
by alawrence 1017 days ago
> so its conservative approach of only acquiring the lock if there's no contention is completely thwarted.

How is contention on the standbys communicated back to the writer? I'm confused about how the writer is interrupted mid-cycle if only the readers are experiencing lock contention.

1 comments

The writer also has traffic that can attempt to acquire the locks. Reads and writes (though our highest volume read traffic is reader only).

Contention from the standbys do not get communicated to the writer.