Re: Persistent PHP web application?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 7 Jan 2005, William Lovaton wrote:
> The phpbeans (or sockets) kind of solutions won't work as Josh Whiting
> (original author of this thread) would expect.
> 
> phpbeans is a good idea to share (complex) business logic and data
> between many web servers but it will have to serialize and unserialize
> the data to send it across the network and it will kill the purpose of
> this discussion.
> 
> See the post from Rasmus who says that APC package is able to store data
> in a shared memory segment without serialization.  It still does a
> mem_cpy() though.  This would be a real solution for the problem, but
> there are some others.
> http://pecl.php.net/package/APC
> 
> Rasmus, you said this feature is currently in CVS... any idea about a
> new release?  What kind of features offers the currently stable version
> (2.0.4) in this regard?

2.0.4 does not support this.  I have a patch I am testing to fix some 
other issues and once I get that working I will probably push out a new 
release.

> Do you know where can I look for performance comparison between APC and
> other opcode cache systems like Turck, Zend Accel or eA??

These days they are all in the same ballpark.  The optimizer in APC is not 
very strong so it loses a percent or two there, but on the other hand many 
people turn off the optimizer in other caches because it sometimes screws 
up their scripts.

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux