On Mon, Jan 14, 2019 at 2:05 PM gtotsline <[email protected]> wrote:
>
> Hi -
>
> Can Scanners / Batch Scanners be reused?  Is there any downside to reusing a
> scanner (e.g. poorer performance)?  I assume creating a scanner takes time,
> so asking this question to see if I can avoid needlessly recreating a
> BatchScanner every time I do a query.

The main difference I can think of is that each batch scanner instance
creates a thread pool.  Other resources like tablet server connection
pools and tablet location caches are shared between batch scanner
instances.

>
> Thanks!
>
>
>
> --
> Sent from: http://apache-accumulo.1065345.n5.nabble.com/Developers-f3.html

Reply via email to