AsyncClientPolicyasyncMaxCommands Field

Maximum number of concurrent asynchronous commands that are active at any point in time. Concurrent commands can be used to estimate concurrent connections. The number of concurrent open connections is limited by:

max open connections = asyncMaxCommands * <number of nodes in cluster>

The actual number of open connections consumed depends on how balanced the commands are between nodes.

The maximum open connections should not exceed the total socket file descriptors available on the client machine. The socket file descriptors available can be determined by the following command:

ulimit -n

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: (5.1.1)

public int asyncMaxCommands

Field Value

Type: Int32
See Also