Bases: threading.Thread
Bases: cbtestlib.perf_engines.mcsoda.StoreMembaseBinary
Close socket connection
Determine new hostname, drop existing connection, establish new socket connection.
Bases: object
Bases: cbtestlib.perf_engines.mcsoda.StoreMemcachedBinary
Connect to the server host using REST API. Username and password should be rest_username and rest_password, generally they are different from ssh identities.
If timeout value is 0, blocks until everything been sent out or the connection breaks.
Bases: cbtestlib.perf_engines.mcsoda.Store
Bases: cbtestlib.perf_engines.mcsoda.Store
Return a seed (hashable tuple or int value) based on current stats. This seed ensures reproducible randomness for the same test configurations.
Choose a random or deterministic number in order to generate the MD5 hash.
The deterministic algorithm always favors new items. i.e:
If many items have been created (num_creates > num_hot_items), hot items are chosen from the newest guys.
callback for observe thread.
measure latencies of standard write/observe/query patterns
Bases: cbtestlib.perf_engines.mcsoda.Store
Receive bytes from the socket @raise ValueError, IOError, socket.timeout, Exception
Receive bytes to the socket. Swallow exceptions.
Send bytes to the socket @raise ValueError, IOError, socket.timeout, Exception
Send bytes to the socket. Swallow exceptions.
synchronized access to class method