Skip to content

Data loss prevention #2

@notABot101010

Description

@notABot101010

As mentioned in #1 , there is a possibility of data loss if the process / node crash when the data is buffered in memory.

It was mentioned that a Write Ahead Log (WAL) is planned.

I would also recommend considering SQLite which seems way easier to implement, and can easily be migrated to a WAL later if using the correct abstraction.

SQLite's performance allows to reduce batch interval to something like 1-5 ms and will allow creating parquet files with even better optimized size, reducing the need for further compaction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions