Re: Persistent PHP web application?

From: Date: Thu, 06 Jan 2005 18:52:52 +0000
Subject: Re: Persistent PHP web application?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-205762@lists.php.net to get a copy of this message
William Lovaton wrote:
Rasmus, El jue, 06-01-2005 a las 08:23 -0800, Rasmus Lerdorf escribió:
On Thu, 6 Jan 2005, William Lovaton wrote:
This is great. In my high performance web app I created a PHP library that abstracted this to use several backends. For instance I have a File backend and a SHM backend that uses the functions provided by the sysvshm PHP module. With this functions, do they need to serialize/unserialize every time I put/get something in/from the cache??
If you are doing this in user-space PHP, then yes, you will have to serialize.
From my PHP library I use shm_put_var() and shm_get_var(). If
serialization is done this way then it is implicit... right?
Yes, these functions serialize/unserialize behing the scenes. -Rasmus

« previous php.general (#205762) next »