Skip to contentSkip to conversation

Concurrent Page Cache

DISCUSSION Howard Chu 1 participant 1 message Jan 30, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Howard Chu

author
#1 lore raw

This ladder locking is also known as lock-coupling in the database world. It's a good solution when you have lots of tasks and need high concurrency, and proven in a lot of literature. You might notice more overhead if you only have a small number of tasks (e.g. 2-3) but it definitely scales better than just holding onto one lock or a small number of locks.

Signature · 4 lines
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/