Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 824DA10E5E for ; Wed, 10 Dec 2014 03:37:48 +0000 (UTC) Received: (qmail 20602 invoked by uid 500); 10 Dec 2014 03:37:48 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 20556 invoked by uid 500); 10 Dec 2014 03:37:48 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 20533 invoked by uid 99); 10 Dec 2014 03:37:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 03:37:47 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josh.elser@gmail.com designates 209.85.216.182 as permitted sender) Received: from [209.85.216.182] (HELO mail-qc0-f182.google.com) (209.85.216.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 03:37:20 +0000 Received: by mail-qc0-f182.google.com with SMTP id r5so1598294qcx.27 for ; Tue, 09 Dec 2014 19:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=WyOMEUd+AbdVayioXov10wLHJM9ndnYxVEiDgf/+UNA=; b=VZ4Sz0yRu9mN1BdrDoxnmXDq09db6RUiZ+LYwXA03qpplKACfuiZNWHGXIyNGmEDpT +AIGN88lG8fY0fCm+II7SvDM3CmkENFZ5510pskd0gJBy8BrgAcfOvlFtfVy/vtU+NQN gheKAxaCNNLleLoa61/hokorWSdj/SYGhJjmMmtKSGzHZTdBe6iG2VLYqIXCWW17hBWp /O+uZPulvoS/kboWhpnWWWTOkvA/z0Xn8wnovL1kNJxMGqWh1e09YW926410lg2uWXf9 EUeEvhZOKfbYtyoOMTWBomnCH4JxYbeM0GZJkEUx5o3iufr73+QhLJgeGr2QKZHERP8E tOpg== X-Received: by 10.224.88.8 with SMTP id y8mr3944363qal.47.1418182639820; Tue, 09 Dec 2014 19:37:19 -0800 (PST) Received: from HW10447.local (pool-71-166-48-231.bltmmd.fios.verizon.net. [71.166.48.231]) by mx.google.com with ESMTPSA id 9sm3071821qam.9.2014.12.09.19.37.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Dec 2014 19:37:19 -0800 (PST) Message-ID: <5487BFED.3030803@gmail.com> Date: Tue, 09 Dec 2014 22:37:17 -0500 From: Josh Elser User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@accumulo.apache.org Subject: Re: accumulo schema design References: <1418174918197-12458.post@n5.nabble.com> <1418176889315-12460.post@n5.nabble.com> In-Reply-To: <1418176889315-12460.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We don't provide any means to pool Connectors for you; however, you should attempt to reuse Connectors when you can. Many libraries contain pool implementations which you can reuse to implement this. It is fairly common to simply pass around a Connector inside an application. It isn't very expensive to make a Connector, so you also don't have to worry about always pooling them. The same is true for ZooKeeperInstance objects. panqingcui@163.com wrote: > For example > > Connecting to the redis, the client provides the connection pool object, > through the connection pool object implementation and database > communication, operatio > > > > -- > View this message in context: http://apache-accumulo.1065345.n5.nabble.com/accumulo-schema-design-tp12458p12460.html > Sent from the Developers mailing list archive at Nabble.com.