akka/akka — pull request #485 by ktoso (2012-05-27 20:44:33+00:00)
Title: [community pattern] refreshing "cache" with actors

Hi all,
I noticed Roland's "call for patterns" today and went on with preparing an example of how we implemented a Cache in one of our projects. It essentialy can be used anywhere you want to *"periodically refresh/update some shared read-only resource"*.

A (scalatest) unit test is included, and it's code is the example use-case shown in the docs,
I have validated it runs fine with akka 2.0. The docs compile with no warnings.

By the way, should the doc of the community patterns just be "pasted in" into `howto.rst` or should I do it the same way as index files (using `.. toctree::`)? If so, should I refactor it to be contained in a subdirectory "howto/"?

PS: Akka rocks!

--
Cheers,
Konrad