Welcome! Log In Create A New Profile

Advanced

Re: Can anyone *really* explain opcode caching with PHP?

Volodymyr Kostyrko
March 07, 2012 07:52AM
gcaplan wrote:
> Hi Volodymyr
>
> Thanks for your helpful response. From what you say, opcode caching is
> essential and Xcache is the way to go.
>
> But just to understand - does a php-fpm pool access a single Xcache, or
> is there a separate cache set up for each process? I'm trying to get a
> handle on the memory implications.

All processes in one php-fpm pool share a single cache. This is so
because main process is started (thus starting new cache) and workers
are forked (sharing most of memory).

> Thanks for the heads up on uWSGI. But my sysadmin skills are basic (I'm
> a developer really) and it looks a bit scary. There's not much info out
> there, while fastcgi is supported in the php core. For someone who is
> not a proper sysadmin, is uWSGI, in its present state of development,
> really a sensible way to go?

I'll second Roberto: keep an eye on it as it should give you better
performance then php-fpm. It's unmature though so if you want to try it
you are on your own.

--
Sphinx of black quartz judge my vow.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Can anyone *really* explain opcode caching with PHP?

gcaplan March 06, 2012 10:13PM

Re: Can anyone *really* explain opcode caching with PHP?

Volodymyr Kostyrko March 07, 2012 04:16AM

Re: Can anyone *really* explain opcode caching with PHP?

gcaplan March 07, 2012 05:10AM

Re: Can anyone *really* explain opcode caching with PHP?

gcaplan March 07, 2012 05:16AM

Re: Can anyone *really* explain opcode caching with PHP?

roberto March 07, 2012 05:32AM

Re: Can anyone *really* explain opcode caching with PHP?

roberto March 07, 2012 05:34AM

Re: Can anyone *really* explain opcode caching with PHP?

Volodymyr Kostyrko March 07, 2012 07:52AM

Re: Can anyone *really* explain opcode caching with PHP?

gcaplan March 07, 2012 09:13AM

Re: Can anyone *really* explain opcode caching with PHP?

roberto March 07, 2012 04:48AM

Re: Can anyone *really* explain opcode caching with PHP?

Rainer Duffner March 07, 2012 05:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready