On Mon, 03 Jan 2011 22:48:53 +0100, Jeff Anderson <captvanha...@gmail.com>
wrote:
I am looking to set up a mod_perl handler which keep track of the
count of requests coming in. Each child process will store this data
in local memory and after 5-10 minutes have passed, each child process
will merge its data into a central database, the goal being that each
child will not have to hit a database for every request.
Hi Jeff,
we usually do that with a local memcached server and
counters (Cache::Memcached::inc() function).
I'm looking into using Cache::FastMmap as an alternative.
I'm not sure about the volume of requests you have,
but using memcached, we got as far as 500 req/s
without any problem or slowdown at all.
--
Cosimo