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

Is it thread safe? #53

Open
KeeProMise opened this issue Jun 28, 2022 · 7 comments
Open

Is it thread safe? #53

KeeProMise opened this issue Jun 28, 2022 · 7 comments

Comments

@KeeProMise
Copy link

No description provided.

@KeeProMise
Copy link
Author

Is there a java implementation?

@umairsheikh
Copy link

umairsheikh commented Jun 28, 2022 via email

@KeeProMise
Copy link
Author

What do you need this for ? Can you brief me about your project ?
On Tue 28. Jun 2022 at 12:03, Jian Zhang @.> wrote: Is there a java implementation? — Reply to this email directly, view it on GitHub <#53 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHNYXOR5Q6NETRV2UGERNDVRLEX3ANCNFSM52BMVPUQ . You are receiving this because you commented.Message ID: @.>
-- Umair SheikhMasters RCSETechnische Universität IlmenauGermany

I want to use the java language to develop a kv database, and currently I want to use art to save key (string, not fixed length) and value (string, saved on disk).

@mapleFU
Copy link

mapleFU commented Jul 22, 2022

Yes it is.

I didn't find any volatile type qualifier, atomic variables or mutex in libart. Although libart is great, I guess it shouldn't be thread safe.

If you want a concurrent trie, maybe https://github.com/flode/ARTSynchronized helps, if you require using Java, maybe https://github.com/npgall/concurrent-trees helps

@umairsheikh
Copy link

umairsheikh commented Jul 22, 2022 via email

@c8ef
Copy link

c8ef commented Jul 23, 2022

https://github.com/rmind/thmap this is another concurrent trie.

@umairsheikh
Copy link

Check this please: https://github.com/umairsheikh/MVCCART

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

4 participants