[concurrency-interest] A new Lock implementation: FileLock

Brian Goetz brian at quiotix.com
Mon Aug 29 21:55:56 EDT 2005

> My point is that a solution already exists.  If you think that you need 
> a same machine, interprocess solution today, chances are that tomorrow 
> you'll need a distributed version.  It may not happen that way, but the 
> failure scenarios and all of the situations that develop on an 
> interprocess solution are exactly what happen in a distributed system.

This is a pretty compelling argument.  Take caching; there are lots of 
good off-the-shelf caching products out there, but everyone rolls their 
own, because "they don't need something that big, they just need a Map 
with expiration."  Over time, they end up reinventing a pretty 
complicated wheel.

More information about the Concurrency-interest mailing list