白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Idempotent processing of data streams

專利號
US11178197B2
公開日期
2021-11-16
申請人
Amazon Technologies, Inc.(US WA Seattle)
發(fā)明人
Gaurav D. Ghare
IPC分類
H04L29/06; H04L29/08; G06F16/23
技術(shù)領(lǐng)域
data,records,stream,checkpoint,may,partition,processing,or,worker,in
地域: WA WA Seattle

摘要

Idempotent processing of data may be implemented for data records retrieved from a data stream. A data stream may receive data records as input and distribute the ingestion, storage, and processing of the data records amongst one or more partitions of the data stream. Partition metadata may be maintained which includes checkpoint metadata for retrieving, processing, and sending data records in the data stream to a specified destination. When assigned a partition for processing, checkpoint metadata for partition may be accessed to determine whether a pending checkpoint for the partition exists. If not pending checkpoint exists, new data records may be retrieved, processed, and sent from the partition of the data stream to a specified destination. If a checkpoint is pending, then the data records identified by the checkpoint metadata as pending may be retrieved, processed, and sent to the specified destination.

說明書

Typically, a stream processing worker may retrieve data records of a partition for processing. The stream processing worker may update partition checkpoint metadata for the partition to indicate the intention to process the retrieved records. Once processing and emitting of the retrieved records is successfully completed, then the stream processing worker may update the partition checkpoint metadata to indicate that processing of the records is completed. As discussed above in FIG. 1, idempotent processing of a data stream may rely upon the partition checkpoint metadata to determine whether or not data records retrieved by a stream processing worker have been emitted to a destination. In this way, another stream processing worker that assumes responsibility for processing the data records may not reprocess and emit data records that have already been processed and emitted. FIG. 5 is a sequence diagram illustrating interactions of a stream processing worker to perform idempotent processing of data records of a data stream, according to at least some embodiments.

權(quán)利要求

1
微信群二維碼
意見反饋