Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 85782 invoked from network); 1 Jan 2010 16:31:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jan 2010 16:31:40 -0000 Received: (qmail 49509 invoked by uid 500); 1 Jan 2010 16:31:40 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 49476 invoked by uid 500); 1 Jan 2010 16:31:39 -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 49467 invoked by uid 99); 1 Jan 2010 16:31:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 16:31:38 +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 (athena.apache.org: domain of markxr@gmail.com designates 209.85.219.220 as permitted sender) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 16:31:32 +0000 Received: by ewy20 with SMTP id 20so1718137ewy.20 for ; Fri, 01 Jan 2010 08:31:11 -0800 (PST) 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=RPBnLYvo2RI5c5dDYWYMYjiNrtzp1/LGhHLsLHswnyg=; b=rBc3KABmRWx785TPkzoCM/sCeJVEXkE5mFNQwgnfuyCUWSp8Hr+NwOJibj+pDiUzh7 SmeQKwwh8jtXDDZ5mwdWtD1O0e+dd5W3Wt1+LUCWp4zHc3daNM8n3dgdCZsLY4b51U/i lXt9nM4THec0TGJSYiB2/bEa0MPLqvlepiKb0= 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=vBxNFtciNB8DDdwINUBFdGswAgwh4wipvX4OgCCuYVDHCbHvgZBW6dKVeP/Sbd49ZS 1yY8uny64Ix6eB1p5Y1VPQMUMeIH0Kp4UyoTvx8PyIhwuAoSKaN/mfZ1ymqxO5SZsd/h WjVVEAPXvI/bo/CuhFfWcNJRyKlq55MVeu9a8= MIME-Version: 1.0 Received: by 10.213.43.130 with SMTP id w2mr17729947ebe.89.1262363470958; Fri, 01 Jan 2010 08:31:10 -0800 (PST) In-Reply-To: References: Date: Fri, 1 Jan 2010 16:31:10 +0000 Message-ID: Subject: Re: async calls in cassandra From: Mark Robson To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=00148531b7f9439626047c1ce665 --00148531b7f9439626047c1ce665 Content-Type: text/plain; charset=ISO-8859-1 2009/12/31 Ran Tavory > Does cassandra/thrift support asynchronous IO calls? > asynchronous calls are really a client-side thing. I believe that there is currently no async version of Thrift, but if one did arrive, it could be used with Cassandra. The fact that Cassandra uses one-thread-per-connection isn't relevant to how synchronous it is. Of course you could use something like Gearman to schedule Cassandra tasks - you'd need to implement a worker process though. Mark > > --00148531b7f9439626047c1ce665 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2009/12/31 Ran Tavory <rantav@gmail.com>
Does cassandra/thrift support asynchronous IO calls?
=

asynchronous calls are really a client-side thing. I = believe that there is currently no async version of Thrift, but if one did = arrive, it could be used with Cassandra.

The fact that Cassandra uses one-thread-per-connection isn't releva= nt to how synchronous it is.

Of course you could use something like = Gearman to schedule Cassandra tasks - you'd need to implement a worker = process though.

Mark


--00148531b7f9439626047c1ce665--