Hello,
Yesterday I have downloaded a copy of "Everything2" (as I was told it's pretty much the same version that PerlMonks uses but PMDev team have implemented few modifications/fixes on it).
I have not installed it yet, or experiment with it, but I've gone through few files and read some codes & I came out with a suggestion hoping it might make PM faster and take off some load
Currently PerlMonks uses its own Caching mechanism which uses database to maintain cache version and its own queue ...etc
In NodeCache.pm I've read this comment:
# Each httpd runs in its own fork and memory space so we cannot # share the cache info across httpd's (even if we could, it wouldn't # work for multiple web server machines). So each httpd keeps a # cache for itself. A problem arises when one httpd process modifies # a node that another process has in its cache. How does that other # httpd process know that what it has in its cache is stale?
My suggestion is using: Cache::Memcached::Fast which will be faster and will solve that problem and remove the need for the version table.
And it will work on multiple servers without any issue.
In reply to PerlMonks Caching by ahmad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |