« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for recycled (0.002 sec.)
Memory Management | PHP 8.3 11868
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 different ways, so it helps to know which pool a symptom belongs to b ... pool, slots are never individually freed. An expired slot — one past its TTL, or the tombstone left by Yac::delete() — is recycled for free when a new key needs it. Only when all four candidate slots of a probe path hold live entries is one of them evic ... ick them. If an application stores large amounts of such one-shot data, give those entries a TTL so they expire and can be recycled without displacing live entries, or size the key pool for the full key set. The value pool (segments) yac.values_memory_si ... on no longer fits, the cursor wraps back to the start of a segment — one recycle (the recycles counter of Yac::info() ). A recycle does not invalidate the segment at once: overwritten values stay readable until the wrapped cursor actually overwrites them ...
https://man.mtool.work/php/8.3/yac.memory-management.html
実行時設定 | PHP 8.3 8426
実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac.enable 1 INI_SYSTEM yac.enable_cli 0 INI_SYSTEM yac.keys_memory_size 8M INI_ ... each; when no segment has room for a new value, an allocator cursor wraps and the oldest values are silently overwritten ("recycled"). Their reads then degrade to misses, detected by an integrity guard. Enlarge this if recycles climb while slots still ha ...
https://man.mtool.work/php/8.3/yac.configuration.html
Yac::delete — Remove items from cache | PHP 8.3 7571
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 en ... eported 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() , such entries ...
https://man.mtool.work/php/8.3/yac.delete.html
PREV 1 NEXT