Serialization of ConcurrentRadixTree

33 views
Skip to first unread message

John Leach

unread,
Aug 22, 2017, 1:35:08 PM8/22/17
to concurrent-trees-discuss
Maybe I missed it, is there an implementation of Ser/De for a ConcurrentRadixTree?

Any pointers?

John

Niall Gallagher

unread,
Aug 22, 2017, 1:57:12 PM8/22/17
to concurrent-t...@googlegroups.com
What do you mean? The trees are serializable. 

I would not recommend to serialize extremely large trees (or actually any large object graph) with Java serialization per-se though.

Sent from my Android

--
-- You received this message because you are subscribed to the "concurrent-trees-discuss" group.
http://groups.google.com/group/concurrent-trees-discuss
---
You received this message because you are subscribed to the Google Groups "concurrent-trees-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concurrent-trees-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Leach

unread,
Aug 22, 2017, 2:40:06 PM8/22/17
to concurrent-trees-discuss
I wanted to use a Radix Tree and persist it as an index for a block of data...  

Niall Gallagher

unread,
Sep 5, 2017, 6:51:32 PM9/5/17
to concurrent-t...@googlegroups.com
Hi John.

Sorry for the delay.

That would be an interesting use case for a radix tree. However I can’t think of an easy way to achieve it. 

Currently the nodes are linked using object references only, which gives good performance for on-heap persistence. However disk persistence would necessitate use of a block or file pointer, which would be more difficult to implement.

If you’d like to contribute code to add such a feature I’d definitely be interested!

Best regards,
Niall


To unsubscribe from this group and stop receiving emails from it, send an email to concurrent-trees-d...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages