Open main menu

Changes

134 bytes added ,  13:50, 1 July 2017
the CDB system is deprecated in favor of straight PHP arrays
In a standard web application architecture, the incoming user traffic is distributed through load balancers to a number of application servers that run independent instances. These application servers access a shared storage, a shared database and a shared cache. This architecture scales well up to a 6 figure number of users. The application servers are easy to scale because doubling the number of servers doubles the performance.
 
 
</ref>
 
 
== Data Persistence ==
there is the old [https://github.com/wikimedia/cdb Constant Database] (CDB) wrapper around the PHP's [https://secure.php.net/manual/en/book.dba.php native PHP DBA functions] . This is (which provides a flat file store like the [https://en.wikipedia.org/wiki/Berkeley_DB Berkeley DB] style databases) is now replaced by simple PHP arrays which are file included. This allows the HHVM opcode cache to precompile and cache these data structures. In MediaWiki, it is used for the [https://www.mediawiki.org/wiki/Interwiki_cache interwiki cache], and the localization cache Having the . This is not to say that you will want or need WMF interwiki list may not be important to your wiki. But , but having a performant cache for the interwiki links contained in ''your '' wiki farm<ref>e.g. see httphttps://lolfreephile.esportspedia.comorg/w/api.php?action=query&amp;meta=siteinfo&amp;siprop=interwikimap</ref> is probably important.
Persistent data is stored in the following ways:
4,558

edits