Web lists-archives.com

Bug#907122: ITP: poolcounter -- network daemon which provides mutex-like functionality




Package: wnpp
Severity: wishlist
Owner: Kunal Mehta <legoktm@xxxxxxxxxxxxxx>

* Package name    : poolcounter
  Version         : 1.0.0
  Upstream Author : Platonides <platonides@xxxxxxxxx>
* URL             : https://wikitech.wikimedia.org/wiki/PoolCounter
* License         : GPL-3.0-or-later
  Programming Lang: C
  Description     : network daemon which provides mutex-like functionality

PoolCounter is a network daemon which provides mutex-like functionality,
with a limited wait queue length. If too many servers try to do the same
thing at the same time, the wait queue overflows and some configurable
action might be taken by subsequent clients, such as displaying an error
message or using a stale cache entry.

It was created to avoid massive wastage of CPU due to parallel parsing when
the cache of a popular article is invalidated (the "Michael Jackson 
problem"[1]).

I'm packaging poolcounter so it can be used with MediaWiki.

[1] https://blog.wikimedia.org/2016/04/22/prince-death-wikipedia/