Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 11563 invoked from network); 1 Sep 2010 19:32:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 19:32:36 -0000 Received: (qmail 2182 invoked by uid 500); 1 Sep 2010 19:32:36 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 2136 invoked by uid 500); 1 Sep 2010 19:32:35 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 2128 invoked by uid 99); 1 Sep 2010 19:32:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 19:32:35 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 19:32:30 +0000 Received: by vws10 with SMTP id 10so7383708vws.31 for ; Wed, 01 Sep 2010 12:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=e9mtzup6sxNAvwHFTv3WP8WPouCh0Xb7fEwc95DEQQM=; b=qHFduocDHaEc00OtAmVI33vC6M7TBheZQBv2dZlKJZP0Q0LxmEyIGmw0MkPZnmmf7n zNqKf/M1VCzc0xBFE3zyyXzmtjNnSdk2vkDgPtBu2LgV81bo/ZnjaKN49j2SmxNiU962 IoxPDTPrpT0wozFkBnBe/RPWmlCKf9i5LAnJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=JliIo866COw3Ci909vxt4bvceD3UuXClYyKtGp7JP7TgOgpWmHj/2AY0qmeOr6u1Jm /QrKy2RPZJZT7zkyuDD9rNHzUEadRXpk0fcC3P3l6mdgk9un6hGoV/0Zuh2Enei/bnFj BUQ2NaUlfMIFleKsyzDyJ4Us3LuzsxsSXKKC0= Received: by 10.220.59.202 with SMTP id m10mr4257973vch.193.1283369529221; Wed, 01 Sep 2010 12:32:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.201.129 with HTTP; Wed, 1 Sep 2010 12:31:49 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Wed, 1 Sep 2010 12:31:49 -0700 Message-ID: Subject: Re: handling client network connections in Cassandra To: dev@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You might want to build on top of something like Hector that handles the low level pooling, failover, etc. already instead of raw Thrift. On Wed, Sep 1, 2010 at 11:04 AM, Amol Deshpande wrote: > As I've mentioned before, I'm looking at implementing a =A0protobuf > interface for clients to talk to Cassandra. Looking at the source, I > don't see a network thread/connection pool that I could easily piggyback > on. This is probably because both thrift and avro seem to have their own > internal connection management. > > Any opinions on apache MINA ? > > Thanks, > -amol > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com