Double buffering with atomic transactions for the persistent storage of real-time data flows

A method, including configuring, in a memory, a first buffer to store first buffer data, a second buffer to store second buffer data, and a variable indicative of a persisted size of real-time data persisted to a storage device. On the storage device, a file is configured to store the real-time data...

Full description

Saved in:
Bibliographic Details
Main Authors ROEY LEHMAN, GOREN COHN, ELIYAHU RAVUNA, YOCHAI ALON TIMMER
Format Patent
LanguageEnglish
Hebrew
Published 27.02.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method, including configuring, in a memory, a first buffer to store first buffer data, a second buffer to store second buffer data, and a variable indicative of a persisted size of real-time data persisted to a storage device. On the storage device, a file is configured to store the real-time data and a field is configured to store the variable. A stream of the real-time data is received, and the stream is appended to the first buffer data. Upon meeting a write criteria, the first buffer data in is swapped with the second buffer data, a buffer size of the second buffer data is added to the variable, and the second buffer data is conveyed from the second buffer to a write cache. Upon meeting a commit criteria, the stream stored in the write cache is appended to the file, and the variable is persisted to the field.
Bibliography:Application Number: IL20140234038