You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Marcel Reutegger <mr...@adobe.com> on 2014/08/19 08:39:35 UTC

Re: OAK and large list of orderable child nodes

Hi,

I think it depends on the use case. e.g. how frequently do you
modify the list? how many 'producers' (sessions adding nodes) and
'consumers' (sessions removing nodes) do you have? is it OK if the
query result is slightly out of date? etc.

an async ordered index is probably a good choice if you have multiple
'producers' and 'consumers' and your application is OK with results
that are not always up to date.

Regards
 Marcel

On 31/07/14 16:56, "Laurie Byrum" <lb...@adobe.com> wrote:

>Would it be appropriate in this situation to adopt Oak indices and use
>queries instead of "listChildren"?
>
>
>
>On 7/31/14 4:56 AM, "Thomas Mueller" <mu...@adobe.com> wrote:
>
>>Hi,
>>
>>This might be a XY problem:
>>http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem
>>
>>What problem do you want to solve?
>>
>>I don't think it's a good idea to have a list of 20000 orderable
>>children,
>>also because neither Jackrabbit 2.x nor Jackrabbit Oak can deal with this
>>efficiently.
>>
>>Regards,
>>Thomas
>>
>>
>>
>>On 31/07/14 09:12, "Bertrand De Coatpont" <le...@adobe.com> wrote:
>>
>>>Hello,
>>>
>>>In the JCR world, is there a specific API to obtain (for reading) a
>>>specific range of child nodes within a large list of orderable child
>>>nodes
>>>(e.g. Nodes 490-500 out of 20000), and is OAK helping/changing anything
>>>in
>>>this area compared to previous versions?
>>>
>>>Thanks!
>>>
>>>Bertrand
>>>
>>>Bertrand de Coatpont
>>>Group Product Manager, Adobe Experience Management
>>>Adobe 
>>>512.284.4195 (tel), /bertranddecoatpont
>>>lebescon@adobe.com
>>>www.adobe.com
>>>
>>>
>>>>
>>>
>>
>