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

Does tinyDB support multi-thread/process access ? #530

Closed
sequoiar opened this issue Jun 19, 2023 · 2 comments
Closed

Does tinyDB support multi-thread/process access ? #530

sequoiar opened this issue Jun 19, 2023 · 2 comments

Comments

@sequoiar
Copy link

No description provided.

@MrPigss
Copy link
Contributor

MrPigss commented Jun 20, 2023

Short answer: no.
Longer answer: I you make sure to use multiprocessing Locks or threading Locks in the appropriate places then it should be fine. But there's probably a better way.

@msiemens
Copy link
Owner

@MrPigss is correct here. The alternative is to use https://github.com/eugene-eeo/tinyrecord as a wrapper around TinyDB

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

No branches or pull requests

3 participants