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

Python bindings #19

Open
1 task
cberner opened this issue Jul 7, 2021 · 1 comment
Open
1 task

Python bindings #19

cberner opened this issue Jul 7, 2021 · 1 comment

Comments

@cberner
Copy link
Owner

cberner commented Jul 7, 2021

  • Change example in the readme on PyPi to be in Python

For Python bindings we'll want to support opening a database concurrently from multiple processes.

Reads from the metapage will need to be atomic without relying on the current Mutex. One idea is to add a nonce to each write as a header & footer, maybe generated from PCG or Lehmer Generator

Further reference: https://lemire.me/blog/2019/03/19/the-fastest-conventional-random-number-generator-that-can-pass-big-crush/

@cberner cberner changed the title Allow database to be opened by multiple processes/threads Python bindings Jan 12, 2022
@yaofan
Copy link

yaofan commented Aug 17, 2023

Hi, is there any processing?

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

2 participants