Patent ID: 8180884

Claim:
A method for use in providing a network service via a plurality of threads on a plurality of network nodes, the method comprising: randomly sampling an execution environment of a first network node to detect active threads on the first network node, each of the detected active threads indicative of a currently active session of the network service; detecting a first identifier of a first detected active thread; storing the first identifier and a stack trace of the first detected active thread in a log on the first network node; accessing the log; using the log to limit a fraction of available active thread capacity assigned to any one subscriber; retrieving the first identifier from the log; retrieving a first element of data relating to the network service based on the first identifier, wherein the first element of data comprises: first information indicative of the network service provided to a subscriber with a service level agreement and second information indicative of a fraction of total active thread capacity that was used in providing the network service to the subscriber; associating the first identifier with the subscriber; in response to determining, based on the service level agreement, that the subscriber has requested a guaranteed class of service: reserving additional active threads to the subscriber; performing temporary allocation of a new node for processing the additional active threads of the subscriber, owing to full utilization of active threads on the first network node.