1MogileFS::Factory(3)  User Contributed Perl Documentation MogileFS::Factory(3)
2
3
4
5
6       MogileFS::MogFactory - singleton class for holding some common objects.
7

ABOUT

9       This module holds a singleton for caching objects which are common but
10       relatively low in number. Such as devices, compared to fids.
11
12       This singleton is to be maintained by the parent process, and inherited
13       to children during fork. Post-fork, the cache is updated by natural
14       commands, or a monitor process pushing changes through the parent.
15
16       The purpose is to provide a fresh cache, without forcing new children
17       to wait for a monitoring run before becoming useful. It also should
18       greatly reduce the number of simple DB queries, as those should only
19       happen periodically directly from the monitor job.
20
21
22
23perl v5.30.0                      2019-07-26              MogileFS::Factory(3)
Impressum