Skip to content

Comment on New MongoDB alerts and advisories pageparent

Comments

No, a read write lock is a lock designed so that multiple readers can hold the lock, but only a single writer can hold the lock. That way readers know no write is taking place(as many reads as you like can take place), and writers know they have exclusive access.

Yes, but keep in mind that while the write lock is in place, reads are blocked, not just writes.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.