Version 1 (modified by moo, 12 years ago) (diff)


Cache Design

Cache Data Copying

Shallow Copying

Deep Copying

Copying Source Or Destination

Pointer Mem CacheOffset Mem CacheDisk CachePHP Scripting Engine
use pointeryesnonoyes
use offsetnoyesyesno
block or objectblockblockblockobject

As we copy data between php and cache, either src (source) or dest (destination) can be block or object.

object storage
allocate for each elements that to be stored
block storage
calc the total size of elements of data, allocate whole block 1 in go. but each elements is stored as if it allocate storage from the block.