libart icon indicating copy to clipboard operation
libart copied to clipboard

Is it thread safe?

Open KeeProMise opened this issue 2 years ago • 7 comments

KeeProMise avatar Jun 28 '22 09:06 KeeProMise

Is there a java implementation?

KeeProMise avatar Jun 28 '22 10:06 KeeProMise

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 https://github.com/armon/libart/issues/53#issuecomment-1168513328, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHNYXOR5Q6NETRV2UGERNDVRLEX3ANCNFSM52BMVPUQ . You are receiving this because you commented.Message ID: @.***>

--

Umair SheikhMasters RCSETechnische Universität IlmenauGermany

umairsheikh avatar Jun 28 '22 10:06 umairsheikh

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).

KeeProMise avatar Jun 28 '22 10:06 KeeProMise

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

mapleFU avatar Jul 22 '22 17:07 mapleFU

I am sorry I have to tell you that I have a different version which I implemented for thread safe ART with multi version concurrency control. But this is for my research project. I will let you know if I can make this public. Regards , Umair

On Fri 22. Jul 2022 at 19:08, mwish @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/armon/libart/issues/53#issuecomment-1192775035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHNYXJYDEHY25UI2YRSN7LVVLIPDANCNFSM52BMVPUQ . You are receiving this because you commented.Message ID: @.***>

--

Umair SheikhMasters RCSETechnische Universität IlmenauGermany

umairsheikh avatar Jul 22 '22 19:07 umairsheikh

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

c8ef avatar Jul 23 '22 03:07 c8ef

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

umairsheikh avatar Jul 23 '22 03:07 umairsheikh