Microservice replay debugger
AssigneeAmazon Technologies, Inc.
InventorsReto Kramer, Anssi Alaranta, Jeffrey Hoffman, Abhishek Singh, David Nunnerley
Life of this patent
Estimating the term…
Abstract
A debugger core captures one or more inputs to a distributed application during live execution of the distributed application in a production environment. The debugger core applies the one or more inputs to the distributed application during replay execution of the distributed application in a debugging environment and performs debugging of the distributed application in the debugging environment.
Claims17
A method comprising:
- capturing one or more inputs to a distributed application during live execution of the distributed application in a production environment, wherein the one or more inputs to the distributed application comprise responses to a plurality of calls to a plurality of component services of the distributed application, and wherein each of the plurality of calls is identified by a unique trace identifier;
- applying, by one or more processors, the one or more inputs to the distributed application in response to the plurality of calls made during replay execution of the distributed application in a debugging environment, wherein each of the one or more inputs is identified by the unique trace identifier corresponding to an associated one of the plurality of calls;
- and
- performing debugging of the distributed application in the debugging environment.
A system comprising:
- one or more processors;
- and
- memory to store computer-executable instructions that, if executed, cause the one or more processors to:
- receive one or more inputs to a distributed application to be used with a first performance of the distributed application in a first environment, wherein the one or more inputs to the distributed application comprise responses to a plurality of calls to a plurality of component services of the distributed application, and wherein each of the plurality of calls is identified by a unique trace identifier;
- send the one or more inputs to the distributed application in response to the plurality of calls made during a second performance of the distributed application in a second environment, wherein each of the one or more inputs is identified by the unique trace identifier corresponding to an associated one of the plurality of calls;
- and
- perform debugging of the distributed application in the second environment.
One or more non-transitory machine-readable media having stored thereon one or more instructions, which if performed by one or more processors, cause the one or more processors to at least:
- capture one or more values received by a distributed application during execution of the distributed application in a runtime environment, wherein the one or more values received by the distributed application comprise responses to a plurality of calls to a plurality of component services of the distributed application, and wherein each of the plurality of calls is identified by a unique trace identifier;
- and
- replay the execution of the distributed application in a debugging environment by providing the one or more values to the distributed application in response to the plurality of calls made by the distributed application during the replay of the execution, wherein each of the one or more values is identified by the unique trace identifier corresponding to an associated one of the plurality of calls.
Dependencies are inferred from the claim text.