摘要:
Access to a device is controlled in a data processing network by receiving a first request from a client to connect to a device where the device is limited to a fixed number of client connections and connecting the client to an available client connection of the device if the fixed number of client connections on the device would not be exceeded by connecting the client. Access is further controlled by testing liveness of a current client connection on the device if the fixed number of client connections on the device would be exceeded by connecting the client and dropping the current client connection if the liveness testing indicates that the current client connection is not live.
摘要:
For managing partitioning in a cluster of nodes, each node is assigned a prime number for use in determining which partition should be activated following partitioning of the cluster. The cluster is monitored for partitioning. If partitioning is detected, a partition value is calculated from the product of the prime numbers assigned to each node in each partition. A node is activated only if it is within the partition having the greatest partition value.
摘要:
Access to a device is controlled in a data processing network by receiving a first request from a client to connect to a device where the device is limited to a fixed number of client connections and connecting the client to an available client connection of the device if the fixed number of client connections on the device would not be exceeded by connecting the client. Access is further controlled by testing liveness of a current client connection on the device if the fixed number of client connections on the device would be exceeded by connecting the client and dropping the current client connection if the liveness testing indicates that the current client connection is not live.
摘要:
For managing partitioning in a cluster of nodes, each node is assigned a prime number for use in determining which partition should be activated following partitioning of the cluster. The cluster is monitored for partitioning. If partitioning is detected, a partition value is calculated from the product of the prime numbers assigned to each node in each partition. A node is activated only if it is within the partition having the greatest partition value.
摘要:
In managing the backlog of undelivered publications for durable subscriptions, a maximum quantity of publications stored in connection with a durable subscription to publications of a particular topic can be established on behalf of a particular subscribing end user. A new publication published for the particular topic subscribed to by the end user can be received and it can be determined if storing the new publication in connection with the durable subscription causes a quantity of publications stored in connection with the durable subscription to exceed the maximum quantity. The new publication can be stored in connection with the durable subscription; however, the oldest publication stored in connection with the durable subscription can be removed when it is determined that storing the new publication in connection with the durable subscription causes a quantity of publications stored in connection with the durable subscription to exceed the maximum quantity.
摘要:
A method and system of controlling access to a destination (17, 23, 24) in a data processing network where the destination is limited to a fixed number of requesters responds to a new request (50) for access from a given requestor (20) by determining whether the fixed number would be exceeded. If the fixed number would not be exceeded (51), the new request is granted by connecting (52) the given requester to the destination. If the fixed number would be exceeded, the liveness of the or each current connection to a respective requester is tested (55). If the liveness test succeeds, the new request is rejected but if the liveness test fails, the new request is granted (52).
摘要:
A method and system of controlling access to a destination (17, 23, 24) in a data processing network where the destination is limited to a fixed number of requesters responds to a new request (50) for access from a given requestor (20) by determining whether the fixed number would be exceeded. If the fixed number would not be exceeded (51), the new request is granted by connecting (52) the given requester to the destination. If the fixed number would be exceeded, the liveness of the or each current connection to a respective requester is tested (55). If the liveness test succeeds, the new request is rejected but if the liveness test fails, the new request is granted (52).