tonbo-io / tonbo

A portable embedded database using Arrow.
https://tonbo.io
Apache License 2.0
762 stars 42 forks source link

Support multiprocess access #96

Open ikrivosheev opened 2 months ago

ikrivosheev commented 2 months ago

Question

Hello! Thank you for the great project! Do you have any plans for support multi process access to database?

ethe commented 2 months ago

Tonbo will support multi-process read-only access. However, removing the restriction of single-process write is a complex issue, and we may not have the resources to tackle it right now. Therefore, Tonbo should support multiple-process read and single-process write. What do you think about this approach? I look forward to your feedback. Thanks!

ikrivosheev commented 2 months ago

@ethe thank for the answer. I think it will be great if I can write from multi-process but by using lock over fs and database can give me some guarantees)

ikrivosheev commented 2 months ago

https://github.com/tonbo-io/tonbo/issues/98 is what I need) Thank you!