You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by vaibhav thapliyal <va...@gmail.com> on 2015/06/24 20:54:02 UTC
Connection pooling in accumulo
Hi everyone,
I wanted to ask if Accumulo supports connection pooling?
If yes is there something in the JAVA api that can be used to make use of
it?
Thanks
Vaibhav
Re: Connection pooling in accumulo
Posted by Josh Elser <jo...@gmail.com>.
MultiTableBatchWriter doesn't do anything special WRT connection pooling
IIRC. It shares memory, yes, but I don't think it has anything special
over a normal batchwriter for pooling RPCs.
Dylan Hutchison wrote:
> Don't forget the MultiTableBatchWriter
> <http://accumulo.apache.org/1.7/apidocs/org/apache/accumulo/core/client/MultiTableBatchWriter.html>
> =)
>
> On Wed, Jun 24, 2015 at 2:58 PM, Josh Elser <josh.elser@gmail.com
> <ma...@gmail.com>> wrote:
>
> Yep, connections to TabletServers and the Master are automatically
> pooled. There shouldn't be anything you have to do yourself -- it
> should just work out of the box.
>
> On Wed, Jun 24, 2015 at 2:54 PM, vaibhav thapliyal
> <vaibhav.thapliyal.91@gmail.com
> <ma...@gmail.com>> wrote:
> > Hi everyone,
> >
> > I wanted to ask if Accumulo supports connection pooling?
> >
> > If yes is there something in the JAVA api that can be used to
> make use of
> > it?
> >
> > Thanks
> > Vaibhav
>
>
Re: Connection pooling in accumulo
Posted by Dylan Hutchison <dh...@mit.edu>.
Don't forget the MultiTableBatchWriter
<http://accumulo.apache.org/1.7/apidocs/org/apache/accumulo/core/client/MultiTableBatchWriter.html>
=)
On Wed, Jun 24, 2015 at 2:58 PM, Josh Elser <jo...@gmail.com> wrote:
> Yep, connections to TabletServers and the Master are automatically
> pooled. There shouldn't be anything you have to do yourself -- it
> should just work out of the box.
>
> On Wed, Jun 24, 2015 at 2:54 PM, vaibhav thapliyal
> <va...@gmail.com> wrote:
> > Hi everyone,
> >
> > I wanted to ask if Accumulo supports connection pooling?
> >
> > If yes is there something in the JAVA api that can be used to make use of
> > it?
> >
> > Thanks
> > Vaibhav
>
Re: Connection pooling in accumulo
Posted by Josh Elser <jo...@gmail.com>.
Yep, connections to TabletServers and the Master are automatically
pooled. There shouldn't be anything you have to do yourself -- it
should just work out of the box.
On Wed, Jun 24, 2015 at 2:54 PM, vaibhav thapliyal
<va...@gmail.com> wrote:
> Hi everyone,
>
> I wanted to ask if Accumulo supports connection pooling?
>
> If yes is there something in the JAVA api that can be used to make use of
> it?
>
> Thanks
> Vaibhav