ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:memcached

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:userguide:memcached [2022/03/09 08:58] – [Adding Weighted Server Groups] dregadv5:userguide:memcached [2022/03/29 18:29] (current) – [Usage] compress also works with memcached now dregad
Line 38: Line 38:
 /* /*
  * Use 'true' to store the item compressed (uses zlib)  * Use 'true' to store the item compressed (uses zlib)
- * Note; Compression is only supported using the memcache library. This 
-       parameter will be ignored when using the memcached library 
  */  */
 $db->memCacheCompress = false; $db->memCacheCompress = false;
Line 73: Line 71:
  
 $hosts = array( $hosts = array(
-    array('host'=>'192.168.86.91','port'=>'11211','weight'=>70) +    array('host'=>'192.168.86.91','port'=>'11211','weight'=>70), 
-    array('host'=>'192.168.86.92','port'=>'11211','weight'=>30)+    array('host'=>'192.168.86.92','port'=>'11211','weight'=>30),
     );     );
  
v5/userguide/memcached.1646812700.txt.gz · Last modified: 2022/03/09 08:58 by dregad