Re: Memcached Question

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

 



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


--
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