Skip to content

Use sqlite3 for persistent storage #143

@realcr

Description

@realcr

We are currently using serialization to json file (using serde) and writing to disk using the atomicwrites crate.

Cons of the current design:

  • Very inefficient, as the whole database should be written for every mutation.
  • Possible atomicity issues. sqlite3 is probably more battle tested than the atomicwrites crate.

Required steps:

  • Designing an SQL schema.
  • Refactoring Funder's mutations to contain less logic.
  • Translating Funder's mutations to SQL statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions