Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 24610 invoked from network); 17 Jul 2009 16:20:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jul 2009 16:20:13 -0000 Received: (qmail 58553 invoked by uid 500); 17 Jul 2009 16:21:19 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 58535 invoked by uid 500); 17 Jul 2009 16:21:19 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 58525 invoked by uid 99); 17 Jul 2009 16:21:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 16:21:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joel.meyer@gmail.com designates 209.85.210.191 as permitted sender) Received: from [209.85.210.191] (HELO mail-yx0-f191.google.com) (209.85.210.191) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 16:21:09 +0000 Received: by yxe29 with SMTP id 29so1505197yxe.32 for ; Fri, 17 Jul 2009 09:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=gtzu/r4t4Cv7U9W/RgiNzTWg0849rvKEHfJK9DE7ze4=; b=VZtx1BoTwjPKcTHNkySOj2CwNCQ+SpQpWkNLipw9buk+Ia9NoufF+5FzWzE/1gT33+ Z9XUSYz7P5nOsM9YOSyIpXCUXiHrCNJadojDQIkYs4Kyc4+X7qdH6ItAbMNlrOyXlrqc 1P0CaONSyxT2dC7S/gyyLy/nyy71G/ib8rTPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=h2GGf+9/Bm8ekJIULiRVryL6gkWYyypN22jsSPYYHoB8MjrDy0sL48E4u9kUh6P3Yv XFPozdcASWAn5ztOc9RWzYL8fRq/kjcUwF7fW9wbUFFUcdnsN0yQRF9Jjv/j+AC6x5e7 Q254bXnE25bqYiGw73mgOm6vGBx8WcOhV790g= MIME-Version: 1.0 Received: by 10.100.138.7 with SMTP id l7mr1755722and.141.1247847648540; Fri, 17 Jul 2009 09:20:48 -0700 (PDT) In-Reply-To: References: <5e50457d0907151725j1542232cp2f8b698ae007a1af@mail.gmail.com> <6AE48AAD-1B0E-4E6D-B9A9-2EEB9830B44A@Holsman.net> <0E3609B1-4275-4C3F-A0C2-47ED8FA8A7C2@Holsman.net> Date: Fri, 17 Jul 2009 09:20:48 -0700 Message-ID: <5e50457d0907170920g5f92300h840a8afc711f43ca@mail.gmail.com> Subject: Re: Best way to use a Cassandra Client in a multi-threaded environment? From: Joel Meyer To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e644b95ed33afe046ee92be3 X-Virus-Checked: Checked by ClamAV on apache.org --0016e644b95ed33afe046ee92be3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks for the input. Sounds like pooling or thread locals is the way to go. Cheers, Joel On Wed, Jul 15, 2009 at 6:57 PM, Jonathan Ellis wrote: > On Wed, Jul 15, 2009 at 8:13 PM, Ian Holsman wrote: > > ugh. > > if this is a byproduct of thrift > > it is. > > > we should have another way of getting to > > the backend. > > serialization is *not* a desired feature for most people ;-0 > > maybe not, but that's how every single database client works that I > can think of, so it shouldn't exactly be surprising. > > you want multiple commands executing in parallel, you open multiple > connections. not a Big Deal imo. > > -Jonathan > --0016e644b95ed33afe046ee92be3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the input. Sounds like pooling or thread locals is the way to go= .

Cheers,
--0016e644b95ed33afe046ee92be3--