Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to postgresql #51

Merged
merged 12 commits into from
Feb 20, 2022
Merged

Migrate to postgresql #51

merged 12 commits into from
Feb 20, 2022

Conversation

Reckless-Satoshi
Copy link
Collaborator

Task concurrency with sqlite3 is leading to failure in the workers. E.g. external market prices cannot be cached, or state of LNpayment objects fail to update as "database is locked". Extending the wait time for processes to acquire a lock on sqlite3 is not helping.

Database needs of RoboSats are minimal and postgres might be an overkill (will decrease performance, portability and increase resource requirements), however it is needed for the proper functioning of the platform. Its security features are also appreciated.

@Reckless-Satoshi Reckless-Satoshi merged commit fb3bdb2 into main Feb 20, 2022
@Reckless-Satoshi Reckless-Satoshi deleted the migrate-to-postgres branch July 19, 2022 18:24
@turizspace turizspace mentioned this pull request Aug 26, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant