19 Jan 2018 21:43:02 UTC
- Distribution: MogileFS-Server
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (316 / 515 / 0)
- KwaliteeBus factor: 0
- 19.50% Coverage
- License: unknown
- Activity24 month
- Download (197.54KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:3 non-PAUSE usersDORMANDO Alan Kasindorfand 1 contributors
MogileFS::MogFactory - singleton class for holding some common objects.
This module holds a singleton for caching objects which are common but relatively low in number. Such as devices, compared to fids.
This singleton is to be maintained by the parent process, and inherited to children during fork. Post-fork, the cache is updated by natural commands, or a monitor process pushing changes through the parent.
The purpose is to provide a fresh cache, without forcing new children to wait for a monitoring run before becoming useful. It also should greatly reduce the number of simple DB queries, as those should only happen periodically directly from the monitor job.
Module Install Instructions
To install MogileFS::Server, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install MogileFS::Server
For more information on module installation, please visit the detailed CPAN module installation guide.