Changeset e77a68
- Timestamp:
- 02/01/08 17:34:24 (4 years ago)
- Branches:
- master, ketama-compat
- Children:
- 83535a
- Parents:
- b995a3
- git-author:
- Tomash Brechko <tomash.brechko@…> (02/01/08 17:34:24)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (02/01/08 17:34:24)
- File:
-
- 1 edited
-
lib/Cache/Memcached/Fast.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lib/Cache/Memcached/Fast.pm
r2b0ac4 re77a68 158 158 address is either a scalar, a hash reference, or an array reference 159 159 (for compatibility with Cache::Memcached, deprecated). If hash 160 reference, the keys are I<address> (scalar) and I<weight> (positive 161 rational number). The server address is in the form I<host:port> for 162 network TCP connections, or F</path/to/unix.sock> for local Unix 163 socket connections. When weight is not given, 1 is assumed. Client 164 will distribute keys across servers proportionally to server weights. 160 reference, the keys are I<address> (scalar), I<weight> (positive 161 rational number), and I<noreply> (boolean flag). The server address 162 is in the form I<host:port> for network TCP connections, or 163 F</path/to/unix.sock> for local Unix socket connections. When weight 164 is not given, 1 is assumed. Client will distribute keys across 165 servers proportionally to server weights. 165 166 166 167 If you want to get key distribution compatible with Cache::Memcached, 167 168 all server weights should be integer, and their sum should be less 168 169 than 32768. 170 171 I<noreply> can be used B<only> together with patched B<memcached> 172 server, which is available from 173 L<http://openhack.ru/memcached-patched> (branch I<noreply>). When 174 enabled, commands executed in a void context will instruct the server 175 to not send the reply. Compare with L</nowait> below. If you enable 176 I<noreply> for unmodified server, things will go wrongly, and the 177 client will eventually block. Use with care. 169 178 170 179
Note: See TracChangeset
for help on using the changeset viewer.
