×

Detecting impedance mismatches due to cross-service calls

  • US 10,733,085 B1
  • Filed: 02/05/2018
  • Issued: 08/04/2020
  • Est. Priority Date: 02/05/2018
  • Status: Active Grant
First Claim
Patent Images

1. A system to analyze code executable on an on-demand code execution system to detect an impedance mismatch with an invoked network-accessible service, the system comprising:

  • a hardware data store storing executable code submitted to the on-demand code execution system by a user device, the executable code including an invocation of a first network-accessible service; and

    a computing device comprising a hardware processor, the computing device in communication with the hardware data store and configured to;

    obtain an expected execution rate for the executable code on the on-demand code execution system;

    conduct a static analysis of the executable code, independent of execution of the executable code, to identify, within the executable code, portions of the executable code that, when executed by the on-demand code execution system, would cause the on-demand code execution system to transmit a set of requests to invoke a first network-accessible service in communication with the on-demand code execution system via a network;

    from at least the expected execution rate for the executable code and a number of requests within the set of requests to invoke the first network-accessible service that would be caused by execution of the executable code on the on-demand code execution system, determine an expected invocation rate for the first network-accessible service when executing the executable code on the on-demand code execution system at the expected execution rate;

    identify an invocation capacity for the first network-accessible service;

    compare the expected invocation rate for the first network-accessible service to the invocation capacity for the first network-accessible service to determine that the expected invocation rate exceeds the invocation capacity; and

    transmit an indication that that the expected invocation rate exceeds the invocation capacity.

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