Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F41499A7 for ; Wed, 15 May 2013 21:04:28 +0000 (UTC) Received: (qmail 93779 invoked by uid 500); 15 May 2013 21:04:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93746 invoked by uid 500); 15 May 2013 21:04:25 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 93736 invoked by uid 99); 15 May 2013 21:04:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 21:04:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eng.salamander@gmail.com designates 209.85.220.169 as permitted sender) Received: from [209.85.220.169] (HELO mail-vc0-f169.google.com) (209.85.220.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 21:04:20 +0000 Received: by mail-vc0-f169.google.com with SMTP id kw10so2260617vcb.0 for ; Wed, 15 May 2013 14:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=4wQJPAChKX/Gg3FUHB3sacNdIMQzEGGTIQ1iluhLPtg=; b=EgR27wc+Pe4wQjJnTZrbGY8zAgU69lPCKOCW5Fk/7bo0+2lT4DDAutzwC2sSAyCi1a rV7U26xIO6kWFHq2Rj4jwKO2JyydoxSlZ2RGuLw5h6PMPbTg9YGVIxXiVLoxIfepDxT4 zyMvOUCr3sVUr9w8pZTnOYaXYXkNAMKrPfQdHFXzlxe/NH9KJa5do0TdJ99sMhxgXbKf /Cb7FpVt0Nvj3PK+xgd+5E8YFxJ36l1RRnXtLT3APYGobKDDV6aMkpyWu20PYG8pU+es VEOtUEKlK9k/EG6ar4vGDqIt+duGr9uk98FWwp5aKPniVkKSLyK26oI9wI6ImIDGu7W6 6TEA== MIME-Version: 1.0 X-Received: by 10.52.93.233 with SMTP id cx9mr22103608vdb.112.1368651839815; Wed, 15 May 2013 14:03:59 -0700 (PDT) Received: by 10.220.148.204 with HTTP; Wed, 15 May 2013 14:03:59 -0700 (PDT) Date: Wed, 15 May 2013 17:03:59 -0400 Message-ID: Subject: Multiple cursors From: Sam Mandes To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf307f307abbc5ba04dcc8169b X-Virus-Checked: Checked by ClamAV on apache.org --20cf307f307abbc5ba04dcc8169b Content-Type: text/plain; charset=ISO-8859-1 Hello All, Is using multiple cursors simultaneously on the same C* connection a good practice? I've an internal api for a project running thrift, I then need to query something from C*. I do not like to create a new connection for every api request. Thus, when my service initially starts I open a connection to C* and with every request I create a new cursor. Thanks a lot --20cf307f307abbc5ba04dcc8169b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello All,

Is using multiple curs= ors=A0simultaneously=A0on the same C* connection a good practice?

I've an internal api for a project running = thrift, I then need to query something from C*. I do not like to create a n= ew connection for every api request. Thus, when my service initially starts= I open a connection to C* and with every request I create a new cursor.

Thanks a lot
--20cf307f307abbc5ba04dcc8169b--