Patent ID: 11968280
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 17:
18. A system comprising:
a data store storing computer-executable instructions; and
a processor configured to execute the computer-executable instructions, wherein the computer-executable instructions, when executed, cause the system to:
iteratively retrieve data items from a data stream;
generate a first batch of data items including one or more data items retrieved from the data stream;
request invocation of a serverless function to process the first batch of data items;
obtain, from an execution of the serverless function, instructions controlling subsequent ingestion of data items from the data stream by executions of the serverless function, the instructions including an instruction to generate a subsequent batch of data items by resubmitting a portion of the one or more data items in the first batch of data items beginning at a location in the first batch of data items identified within the instructions; and
modify subsequent invocations of the serverless function according to the instructions, wherein modifying the subsequent invocations of the serverless function according to the instructions comprises:
generating the subsequent batch of data items for processing by the serverless function by resubmitting a portion of the one or more data items in the first batch of data items beginning at the location in the first batch of data items identified within the instructions; and
requesting a second invocation of the serverless function to process the subsequent batch of data items.