Re: Memcached Question
| From: | Unknown Sender | Date: | Sun, 29 Oct 2006 17:21:26 +0000 |
| Subject: | Re: Memcached Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243827@lists.php.net to get a copy of this message | ||
Hi,
Best reference will be http://php.net/memcache i think.
Memcache is really effective tool, but it have one fault. Data keeping in this way are not stable.
Generally memcache is useful as a some kind of cache when you can have second data source, or when data, you want to save, have short ttl (time to live) (f.e. sessions ;-) ).
But I recommend it.
Have fun ;)
Michael
Sancar Saran said:
Hi, Recently I discoverd Memcache daemon for sessions, I'm very pleased its performance. I want to use memcache other than $_SESSION For example, I have an array, it has language definitions. Normally on each page load I have to include that file. So I want to put that array into Memcached and access from each different SESSIONID, I believe this will reduce memory usage and gives performance boost. I found (and use) SESSION examples for Memcached usage. Does anyone has any other examples for memcached usage. Regards. Sancar