Configures the number of concurrent connections
a single endpoint has.
Configures the number of concurrent connections
a single endpoint has.
The connections are load balanced over which allows the pipelined client to
avoid head-of-line blocking and reduce its latency.
We've empirically found that two is a good default for this, but it can be increased at the cost of additional connection overhead.
Constructs a memcached.Client that dispatches requests over dest
.
Constructs a memcached.Client that dispatches requests over dest
. When
dest
resolves to multiple hosts, the hosts are hashed across a ring with
key affinity. The key hashing algorithm can be configured via the withKeyHasher
method on Memcached.client
. Failing hosts can be ejected from the
hash ring if withEjectFailedHost
is set to true. Note, the current
implementation only supports bound Names.
Constructs a memcached.Client that dispatches requests over dest
.
Constructs a memcached.Client that dispatches requests over dest
. When
dest
resolves to multiple hosts, the hosts are hashed across a ring with
key affinity. The key hashing algorithm can be configured via the withKeyHasher
method on Memcached.client
. Failing hosts can be ejected from the
hash ring if withEjectFailedHost
is set to true. Note, the current
implementation only supports bound Names.
Argument label
is used to assign a label to this client.
The label is used to scope stats, etc.
Constructs a memcached.Client that dispatches requests over dest
.
Constructs a memcached.Client that dispatches requests over dest
. When
dest
resolves to multiple hosts, the hosts are hashed across a ring with
key affinity. The key hashing algorithm can be configured via the withKeyHasher
method on Memcached.client
. Failing hosts can be ejected from the
hash ring if withEjectFailedHost
is set to true. Note, the current
implementation only supports bound Names.
Argument label
is used to assign a label to this client.
The label is used to scope stats, etc.
Constructs a memcached.Client that dispatches requests over dest
.
Constructs a memcached.Client that dispatches requests over dest
. When
dest
resolves to multiple hosts, the hosts are hashed across a ring with
key affinity. The key hashing algorithm can be configured via the withKeyHasher
method on Memcached.client
. Failing hosts can be ejected from the
hash ring if withEjectFailedHost
is set to true. Note, the current
implementation only supports bound Names.
(Since version 2018-10-30) Use withStack(Stack[ServiceFactory[Req, Rep]] => Stack[ServiceFactory[Req, Rep]]) instead
A memcached client with support for pipelined requests, consistent hashing, and per-node load-balancing.