Parallel scan/scroll


(liorg2) #1

hello,

is there an option to perform scan&scroll in parallel. (client side)
sometimes it takes 6 seconds between scroll iterations

the problem i see, is that the scrollid may be changed.

in the server side: is it multithreaded? is there a setting to configure how many threads participating in it?

Lior


(Adrien Grand) #2

On the server side, there is one working thread per shard.

As you said, scroll ids can change so if you want to parallelize logic on client-side, you still need to make sure that the call to get the next page is not parallelized.


(system) #3