Memcached: Difference between revisions
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
If you are a MediaWiki developer - especially a front-end dev, you've probably seen references in code to the 'BagOStuff' and wondered "what the heck is it?" BagOStuff is an abstract Class representing a cache/ephemeral data store. Concrete classes then build upon or implement BagOStuff in ways that are compatible with those concrete storage mechanisms. <ref>https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/includes/libs/objectcache/BagOStuff.php</ref> WANCache builds on top of '''BagOStuff''', which is the lower level key-value interface to Memcached and other storage backends. | If you are a MediaWiki developer - especially a front-end dev, you've probably seen references in code to the 'BagOStuff' and wondered "what the heck is it?" BagOStuff is an abstract Class representing a cache/ephemeral data store. Concrete classes then build upon or implement BagOStuff in ways that are compatible with those concrete storage mechanisms. <ref>https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/includes/libs/objectcache/BagOStuff.php</ref> WANCache builds on top of '''BagOStuff''', which is the lower level key-value interface to Memcached and other storage backends. | ||
[[File:Wikipedia_Memcached_flow_2022.png|alt=illustration of Memcached flow from MediaWiki|right|955x955px|Memcached flow from MediaWiki]] | [[File:Wikipedia_Memcached_flow_2022.png|alt=illustration of Memcached flow from MediaWiki|right|955x955px|Memcached flow from MediaWiki]] | ||
{{References}} | |||
<br /> | <br /> | ||
<references /> | |||
[[Category:Caching]] | [[Category:Caching]] | ||
[[Category:Performance]] | [[Category:Performance]] | ||