mxnet.kvstore.KVStoreServer

class KVStoreServer(kvstore)[source]

Bases: object

The key-value store server.

__init__(kvstore)[source]

Initialize a new KVStoreServer.

Parameters

kvstore (KVStore) –

Methods

__init__(kvstore)

Initialize a new KVStoreServer.

run()

Run the server, whose behavior is like.

run()[source]

Run the server, whose behavior is like.

>>> while receive(x):
...     if is_command x: controller(x)
...     else if is_key_value x: updater(x)