×

Per-request event detection to improve request-response latency

  • US 10,579,446 B2
  • Filed: 04/13/2018
  • Issued: 03/03/2020
  • Est. Priority Date: 04/13/2018
  • Status: Active Grant
First Claim
Patent Images

1. A computing system, comprising:

  • request receiving logic configured to;

    receive a request, assign the request a transaction identifier, and identify a plurality of workflows corresponding to the request, each workflow having a set of tasks to be executed to generate a response to the request; and

    interact with a plurality of worker threads to execute the plurality of workflows, wherein each worker thread corresponds to one of the workflows and comprises;

    task execution logic, in the worker thread, that activates computing subroutines in the computing system to execute the tasks in the corresponding workflow; and

    event raising logic, in the worker thread, that raises a latency event when a latency operation is performed by the task execution logic in executing the tasks in the corresponding workflow;

    a memory that stores a runtime stack indicative of the computing subroutines of the computing system that are active; and

    a latency detection system that is external to the plurality of worker threads and comprises;

    an event detector configured to detect the latency events raised by the plurality of worker threads;

    time capture logic configured to capture time stamps corresponding to the detected latency events;

    stack trace capture logic;

    event processing logic configured to control the stack trace capture logic to capture, for each latency event, a stack trace of the runtime stack, in response to the latency event; and

    data aggregation logic configured to aggregate the captured timestamps and captured stack traces across the plurality of different workflows corresponding to the request, based on the transaction identifier.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×