Last modified: 2014-09-25 20:08:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58652, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56652 - Add support for Zend OPcache as a MediaWiki Caching option
Add support for Zend OPcache as a MediaWiki Caching option
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-06 02:40 UTC by Fred Bauder
Modified: 2014-09-25 20:08 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fred Bauder 2013-11-06 02:40:49 UTC
Please see the short discussion at https://www.mediawiki.org/w/index.php?title=Project:Support_desk&offset=20131104170209#Zend_OPcache_v7.0.3-dev_35188

If it is necessary in the sense that something must be changed in the mediawiki software to utilize this php accelerator if present, and it would improve performance, please include support for the Zend_OPcache_v7.0.3-dev I have no idea what is involved other than that gained from reading the Wikipedia article https://en.wikipedia.org/wiki/List_of_PHP_accelerators
Comment 1 Andre Klapper 2013-11-06 09:42:22 UTC
(In reply to comment #0)
> Please see the short discussion at
> https://www.mediawiki.org/w/index.php?title=Project:
> Support_desk&offset=20131104170209#Zend_OPcache_v7.0.3-dev_35188

Could you please summarize it here, and come up with one sentence that describes what this bug report is about, and put that sentence into the "Summary" field?
Comment 2 Fred Bauder 2013-11-06 11:38:16 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Please see the short discussion at
> > https://www.mediawiki.org/w/index.php?title=Project:
> > Support_desk&offset=20131104170209#Zend_OPcache_v7.0.3-dev_35188
> 
> Could you please summarize it here, and come up with one sentence that
> describes what this bug report is about, and put that sentence into the
> "Summary" field?

I'm not sure what the summary field is or how to put anything in it, but when installing Mediawiki the installer searches for an extension to php that would do data caching and looks for APC Xcache Wincach. Does Zend_OPcache_v7.0.3-dev add anything to Mediawiki functionality and is support for it needed? Or does it function without anything being added to Mediawiki software? It was added to the latest version of PHP in March, 2013.

I guess the summary would be Support for Zend_OPcache_v7.0.3-dev
Comment 3 Andre Klapper 2013-11-06 11:43:41 UTC
So does Zend OPcache support data caching?
Comment 4 Fred Bauder 2013-11-06 11:50:19 UTC
Not according to the wikipedia article, however it does "opcaching" Is Mediawiki configured to use what it does do?
Comment 5 Andre Klapper 2013-11-06 12:39:13 UTC
Refering to the Support Desk thread where you asked "Would this Zend OPcache v7.0.3-dev do the same thing?", you answered this yourself by "No" in comment 4.

So I don't know what you request in this bug report is and what you would like to achieve.

Also see https://www.mediawiki.org/wiki/Manual:MediaWiki_architecture#Caching and https://meta.wikimedia.org/wiki/Talk:PHP_caching_and_optimization for general information.
Comment 6 Fred Bauder 2013-11-06 15:25:15 UTC
I am not a reliable source with respect to a question that I don't know the answer to. There is no use in rephrasing the support request repeatedly, but here goes: is Zend_OPcache_v7.0.3-dev supported by Mediawiki; what does it de; should it be supported?
Comment 7 Andre Klapper 2013-11-06 15:31:43 UTC
Closing as INVALID, a bugtracker is not the place to discuss this.
Please refer to the support desk or the mediawiki-l mailing list at https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Comment 8 Mark A. Hershberger 2013-11-11 17:26:23 UTC
changing summary since the current one is unenlightening.
Comment 9 Mark A. Hershberger 2013-11-11 17:35:29 UTC
From looking at http://halfelf.org/2013/trading-apc-for-zend/ and then http://wordpress.org/support/topic/looking-ahead-to-php-55-zend-optimizer-the-end-of-apc it looks like we should support this.  Note that the last link starts off with some misinformation about APC.  APC is still supported in PHP 5.5.

http://www.ricardclau.com/2013/03/apc-vs-zend-optimizer-benchmarks-with-symfony2/

Given that Zend OPcache is in core PHP, this is definitely worth a look.
Comment 10 Jesús Martínez Novo (Ciencia Al Poder) 2014-09-25 19:56:59 UTC
Raising priority. Apparently it's becoming more popular
Comment 11 Sam Reed (reedy) 2014-09-25 19:59:38 UTC
If it's just an opcode cache (ie can't be used to store objects etc), does MW actually need to do anything to support it? Noting APC can be used by MW as an opcode cache, but also an object cache...
Comment 12 Jesús Martínez Novo (Ciencia Al Poder) 2014-09-25 20:08:51 UTC
As pointed out on IRC, Zend Opcache is just an opcache and not an object cache. It doesn't provide functions to store or retrieve objects from it, so there's nothing to do in MediaWiki to support that.

http://php.net/manual/en/ref.opcache.php

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links