Coding style changes. Moved the srandom to memcached_behavior_set instead of doing...
[awesomized/libmemcached] / docs / memcached_behavior.pod
index dd7184541743adf05d6dcdcbe15649db76ffb497..0288feb0807e7efd396d799b538e60b81f6c6d92 100644 (file)
@@ -209,6 +209,15 @@ This replication does not dedicate certain memcached servers to store the
 replicas in, but instead it will store the replicas together with all of the
 other objects (on the 'n' next servers specified in your server list).
 
+=item MEMCACHED_BEHAVIOR_RANDOMIZE_REPLICA_READ
+
+Allows randomizing the replica reads starting point. Normally the read is 
+done from primary server and in case of miss the read is done from primary
++ 1, then primary + 2 all the way to 'n' replicas. If this option is set 
+on the starting point of the replica reads is randomized between the servers.
+This allows distributing read load to multiple servers with the expense of 
+more write traffic.
+
 =back
 
 =head1 RETURN