« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 14 for slot (0.002 sec.)
Remove items from cache 11413
« Yac::__construct Yac::dump » PHP Manual Yac Remove items from cache 検索 Yac::delete (PECL yac >= 1.0.0) Yac::delete — Remove items from cache 説明 public function Yac::delete ( string | array $key , int $delay = 0 ): bool Removes one or ... more items from the cache. 注意 : Deletion is implemented by marking the entry expired rather than clearing its slot: the entry immediately stops being readable, but the slot stays occupied until the same key is stored again or a later wri ... te reclaims the slot. As a result, the used-slot count reported by Yac::info() does not decrease after a deletion, and Yac::dump() still lists ... the deleted entry until its slot is recycled; a non-zero ttl in the past marks a deleted or expired entry, so when inspecting the output of Yac::dump() , s ...
https://man.mtool.work/php/8.3/yac.delete.html
Remove items from cache 11413
« Yac::__construct Yac::dump » PHP Manual Yac Remove items from cache 検索 Yac::delete (PECL yac >= 1.0.0) Yac::delete — Remove items from cache 説明 public function Yac::delete ( string | array $key , int $delay = 0 ): bool Removes one or ... more items from the cache. 注意 : Deletion is implemented by marking the entry expired rather than clearing its slot: the entry immediately stops being readable, but the slot stays occupied until the same key is stored again or a later wri ... te reclaims the slot. As a result, the used-slot count reported by Yac::info() does not decrease after a deletion, and Yac::dump() still lists ... the deleted entry until its slot is recycled; a non-zero ttl in the past marks a deleted or expired entry, so when inspecting the output of Yac::dump() , s ...
https://man.mtool.work/php/8.3/yac.delete.html
Memory Management 9960
« リソース型 定義済み定数 » PHP Manual Yac Memory Management 検索 Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in dif ... ching either knob. What Each Pool Holds The two pools store different halves of an entry. The key pool holds the keys: one slot per cached key, carrying the key itself (up to 48 bytes) together with its hash, TTL, hit count and last-access time; the ... e that fit in 60 signed bits on 64-bit builds), strings of up to 7 bytes and empty arrays — are stored directly inside the slot, in the pointer that would otherwise reference a block. Such values occupy no space in the value pool at all; only their k ... ool is a ring, and a value only dies once the allocator cursor comes back around to overwrite it. Embedded values occupy a slot like any other entry, but consume no space in the value pool, so leave them out of the second calculation. The key pool (s ...
https://man.mtool.work/php/8.3/yac.memory-management.html
Memory Management 9960
« リソース型 定義済み定数 » PHP Manual Yac Memory Management 検索 Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in dif ... ching either knob. What Each Pool Holds The two pools store different halves of an entry. The key pool holds the keys: one slot per cached key, carrying the key itself (up to 48 bytes) together with its hash, TTL, hit count and last-access time; the ... e that fit in 60 signed bits on 64-bit builds), strings of up to 7 bytes and empty arrays — are stored directly inside the slot, in the pointer that would otherwise reference a block. Such values occupy no space in the value pool at all; only their k ... ool is a ring, and a value only dies once the allocator cursor comes back around to overwrite it. Embedded values occupy a slot like any other entry, but consume no space in the value pool, so leave them out of the second calculation. The key pool (s ...
https://man.mtool.work/php/8.3/yac.memory-management.html
Dump cache entries for inspection 9802
« Yac::delete Yac::flush » PHP Manual Yac Dump cache entries for inspection 検索 Yac::dump (PECL yac >= 1.0.0) Yac::dump — Dump cache entries for inspection 説明 public function Yac::dump ( int $limit = 100 , int $offset = 0 ): array Dumps ... return. 戻り値 An array with one element per dumped entry. Each element is itself an array describing the entry: index The slot index of the entry in the hash table. hash The 64-bit hash of the key, used for slot probing. crc The CRC32 checksum of th ... time), updated on each successful Yac::get() . When the cache is full, the entry with the oldest atime among the candidate slots is evicted first (as of yac 2.4.0). hits A per-entry hit counter, bumped on each successful Yac::get() and reset when the ... overwritten by a new Yac::set() or Yac::add() (as of yac 2.4.0). embedded Whether the value is stored directly inside the slot instead of in a separate value block (as of yac 2.4.0). Small values — NULL , booleans, small integers, strings of up to 7 ...
https://man.mtool.work/php/8.3/yac.dump.html
Dump cache entries for inspection 9802
« Yac::delete Yac::flush » PHP Manual Yac Dump cache entries for inspection 検索 Yac::dump (PECL yac >= 1.0.0) Yac::dump — Dump cache entries for inspection 説明 public function Yac::dump ( int $limit = 100 , int $offset = 0 ): array Dumps ... return. 戻り値 An array with one element per dumped entry. Each element is itself an array describing the entry: index The slot index of the entry in the hash table. hash The 64-bit hash of the key, used for slot probing. crc The CRC32 checksum of th ... time), updated on each successful Yac::get() . When the cache is full, the entry with the oldest atime among the candidate slots is evicted first (as of yac 2.4.0). hits A per-entry hit counter, bumped on each successful Yac::get() and reset when the ... overwritten by a new Yac::set() or Yac::add() (as of yac 2.4.0). embedded Whether the value is stored directly inside the slot instead of in a separate value block (as of yac 2.4.0). Small values — NULL , booleans, small integers, strings of up to 7 ...
https://man.mtool.work/php/8.3/yac.dump.html
Status of cache 9085
« Yac::__get Yac::set » PHP Manual Yac Status of cache 検索 Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値 ... Returns an array with the following keys: memory_size Total shared memory in use, in bytes: the slot table plus the value blocks. slots_memory_size Memory reserved for the hash slot table, in bytes. values_memory_size Memor ... not allocate a value block. kicks Number of evictions: how often an existing entry had to be evicted because the candidate slot path was full. recycles Number of times the allocator reached the end of a segment and wrapped around to its beginning. st ... art_time The Unix timestamp at which the shared memory cache was initialized. slots_size Total number of hash slots. slots_used Number of hash slots currently occupied. 例 例1 Yac::info() example <?php $ya ...
https://man.mtool.work/php/8.3/yac.info.html
Status of cache 8997
« Yac::__get Yac::set » PHP Manual Yac Status of cache 検索 Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値 ... Returns an array with the following keys: memory_size Total shared memory in use, in bytes: the slot table plus the value blocks. slots_memory_size Memory reserved for the hash slot table, in bytes. values_memory_size Memor ... not allocate a value block. kicks Number of evictions: how often an existing entry had to be evicted because the candidate slot path was full. recycles Number of times the allocator reached the end of a segment and wrapped around to its beginning. st ... art_time The Unix timestamp at which the shared memory cache was initialized. slots_size Total number of hash slots. slots_used Number of hash slots currently occupied. 例 例1 Yac::info() example <?php $ya ...
https://man.mtool.work/php/8.3/yac.info.html
Yac 8104
« xhprof_sample_enable インストール/設定 » PHP Manual PHP の振る舞いの変更 Yac 検索 Yac はじめに Yac (Yet Another Cache) is a lock-free, shared memory user data cache, and can be used to replace APC or local memcached. Yac stores data in sh ... to every PHP worker of the same machine without any inter-process communication. Instead of locking, Yac relies on atomic slot updates plus a few collision probes, so a cache miss never blocks a request, and a concurrent write can at worst cause a f ... t fit in 60 signed bits on 64-bit builds), strings of up to 7 bytes and empty arrays — are stored directly inside the hash slot instead of in a separate value block ("embedded values"), which removes the value-memory allocation and block copy on ever ... che memory value data インストール shared read values Store used local visible machine without inter process communication slot store ...
https://man.mtool.work/php/8.3/book.yac.html
Yac 8104
« xhprof_sample_enable インストール/設定 » PHP Manual PHP の振る舞いの変更 Yac 検索 Yac はじめに Yac (Yet Another Cache) is a lock-free, shared memory user data cache, and can be used to replace APC or local memcached. Yac stores data in sh ... to every PHP worker of the same machine without any inter-process communication. Instead of locking, Yac relies on atomic slot updates plus a few collision probes, so a cache miss never blocks a request, and a concurrent write can at worst cause a f ... t fit in 60 signed bits on 64-bit builds), strings of up to 7 bytes and empty arrays — are stored directly inside the hash slot instead of in a separate value block ("embedded values"), which removes the value-memory allocation and block copy on ever ... yntax 関連キーワード: cache memory shared read values Store used local visible machine without inter process communication slot store access hash throughput across small instead block several Retrieve ...
https://man.mtool.work/php/8.3/book.yac.html
PREV 1 2 NEXT