Podręcznik:$wgMainStash

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgMainStash and the translation is 20% complete.
Other languages:
English • ‎dansk • ‎español • ‎polski • ‎日本語
Cache: $wgMainStash
Replicated object cache setting
Wprowadzono w wersji:1.26.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:One of the CACHE constants (see $wgMainCacheType )
Domyślna wartość:'db-replicated'

Szczegóły

This setting controls the cache used by methods that store temporary values that need to be seen in all datacenters. This is not true of $wgMainCacheType , which should be a fast and local-only cache. Ideally, a better effort should be made to reduce evictions are data loss during power outages that main cache stores (e.g. redis with disk-persistence enabled and allkeys-lru). Nevertheless, the store does not need to be a robust ACID compliant database, it should merely be a fast, memory-based, store that replicates data to all sites. A modest amount of eviction or lost data (such as on fail-over) can be tolerated.