Hi,

afaik with Oak the too many child nodes problem of JR2 is solved, therefore
I'm wondering what the best way to store a queue in the repository is?

In my use cases, there are usually not many items within a single queue,
let's say a few hundreds. In some cases the queue might grow to some
thousands but not more than maybe 20k.

The idea is that new entries (nodes) are added to the end of the queue, and
processing would read the first node from the queue, update the properties
and once done, remove it.

My initial design was to simply store all entries as sub nodes of some
queue root entry without any hierarchy. addNode should add them at the end
and simply iteration over the child nodes of the root gives the first
entry. No need for sortable nodes.

Does this make sense? Is there anything else to be considered?

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

Reply via email to