Skip to content

Conversation

@seanwu1105
Copy link
Contributor

Implement stable and reliable data persistence solution with Capacitor Filesystem plugin.

Use the plugin to create a JSON file for each table in database. The JSON contains a single big array to store tuples. Also, use an async-mutex to insure each insertion and deletion is atomic. Write a fully covered unit tests to make sure the reliability.

Fix #150.

…r Filesystem plugin.

We use the plugin to create a JSON file for each table in database. The JSON contains a
single big array to store tuples. Also, we use an async-mutex to insure each insertion
and deletion is atomic. We write a fully covered unit tests to make sure the reliability.
@seanwu1105 seanwu1105 added the code Improvements to code quality or project architecture label Nov 17, 2020
@seanwu1105 seanwu1105 added this to the backlog milestone Nov 17, 2020
@seanwu1105 seanwu1105 requested a review from shc261392 November 17, 2020 13:19
@seanwu1105 seanwu1105 self-assigned this Nov 17, 2020
@seanwu1105 seanwu1105 linked an issue Nov 17, 2020 that may be closed by this pull request
Copy link
Contributor

@shc261392 shc261392 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The improvement seems solid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Improvements to code quality or project architecture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid Using JSON.stringify When Hash Objects in Storage Utils

3 participants