This page is a translated version of the page Manual:$wgMemCachedServers and the translation is 64% complete.
Other languages:
English • ‎français • ‎magyar • ‎日本語
Memcached の設定: $wgMemCachedServers
memcached サーバー
導入されたバージョン:pre 1.1.0
既定値:[ '' ] (1.22+)
array( '' ) (1.1-1.21)



To use multiple servers (physically separate boxes or multiple caches on one machine on a large-memory x86 box), just add more items to the array. To increase the weight of a server (say, because it has twice the memory of the others and you want to spread usage evenly), make its entry a subarray:

$wgMemCachedServers = [
  "", # このボックスに 1GB
  [ "", 2 ] # 他のボックスに 2GB

You can have multiple wikis point to the same Memcached server, as long as each have different wiki-ids ($wgDBname ). Certain cache keys are intentionally shared in such a scenario, such as rate limiting stuff.

docs/ に詳細情報があります。