Magic Data Storage Mechanisms: Difference between revisions
(Created page with '==Database== This maig This is "permanent" ==APC== There is magic data storage mechanism based on the Pear APC module and implemented by the class I2CE_MagicDataStorageAPC. It ...') |
|||
Line 1: | Line 1: | ||
==Database== | ==Database== | ||
This | This magic data storage mechanism is intended to be used as the "permanent" storage mechanism. By default it is stored into the database table 'config' | ||
==APC== | ==APC== | ||
There is magic data storage mechanism based on the Pear APC module and implemented by the class I2CE_MagicDataStorageAPC. It caches data in the memory segment between reqeusts with a timeout of 5 minutes. Data cached by Apache is not cached on the command line. | There is magic data storage mechanism based on the Pear APC module and implemented by the class I2CE_MagicDataStorageAPC. It caches data in the memory segment between reqeusts with a timeout of 5 minutes. Data cached by Apache is not cached on the command line. |
Revision as of 13:20, 4 June 2009
Database
This magic data storage mechanism is intended to be used as the "permanent" storage mechanism. By default it is stored into the database table 'config'
APC
There is magic data storage mechanism based on the Pear APC module and implemented by the class I2CE_MagicDataStorageAPC. It caches data in the memory segment between reqeusts with a timeout of 5 minutes. Data cached by Apache is not cached on the command line.
SysV
There is magic data storage mechanism based on SysV I2CE_MagicDataStorageSysV. It is not available in windows. It creates shared memory segments to cache the data between requests. It's advantage over APC is that the same shared segments can be accessed via the command line. There is no time-out for the data stored. To clear from the command line the shared memory segments
ipcs -m | grep www-data | awk '{print "ipcrm -m "$2}' | sudo bash