You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a class ClientPool (implementing ClientInterface); additional methods
addClient($hostname, $port)
setDistributionStrategy($strategy)
getDistributionStrategy()
Add a factory method createClientPool($strategy = null)
The client-pool should chose a client at submission based by its strategy, e.g. random, workload-hash-based or just the first one. Actions such as setConnectionOption should forwarded to all clients.
The actions should be robust against single Clients disconnecting/failing and move on accordingly,
The text was updated successfully, but these errors were encountered:
ClientPool
(implementingClientInterface
); additional methodsaddClient($hostname, $port)
setDistributionStrategy($strategy)
getDistributionStrategy()
createClientPool($strategy = null)
The client-pool should chose a client at submission based by its strategy, e.g. random, workload-hash-based or just the first one. Actions such as setConnectionOption should forwarded to all clients.
The actions should be robust against single Clients disconnecting/failing and move on accordingly,
The text was updated successfully, but these errors were encountered: