Re: Persistent PHP web application?
| From: | William Lovaton | Date: | Thu, 06 Jan 2005 16:57:04 +0000 |
| Subject: | Re: Persistent PHP web application? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205744@lists.php.net to get a copy of this message | ||
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?
-William