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 89D9910294 for ; Tue, 26 Nov 2013 19:31:46 +0000 (UTC) Received: (qmail 31946 invoked by uid 500); 26 Nov 2013 19:31:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31911 invoked by uid 500); 26 Nov 2013 19:31:43 -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 31903 invoked by uid 99); 26 Nov 2013 19:31:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 19:31:43 +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 (nike.apache.org: domain of winnerdood@gmail.com designates 209.85.213.51 as permitted sender) Received: from [209.85.213.51] (HELO mail-yh0-f51.google.com) (209.85.213.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 19:31:38 +0000 Received: by mail-yh0-f51.google.com with SMTP id c41so2778559yho.38 for ; Tue, 26 Nov 2013 11:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:in-reply-to:references:from:to:subject :content-type; bh=THRx4qxspfuw1GoigkENsHNl5zq3DMl8twa2XTrCDZ4=; b=PBmskshDTqYEwRoEtWSnbpGHWeCFIg4/wZa5R5G8Q3FTGojXe0EFEE1YcRrIrhewhz FR/DYNcRoPGS3TuT3y7BcCYJDTBXDSLOgu9obtz8UHmjlJ6WdnR1/SHor+U08wfaMVBN i7y8BqnBedVGs14ErMG52ijxkSM6r4rxA4/NNW4TQji4alPKLidchtl8QUASIrXDrXq0 hmdxbK6Z7/9OxUtVJaH8rWG/n+cfs1oy4emlUWzeTZpFtUKY95iMdd3yEYX+GyPf6JDw 20nEbJQ8RNzaJYaCRSQPKSdFjJkmdCE/yfJZoHMCF+tBtxWrgAccXh/+eTxDpG3947DO cpeA== X-Received: by 10.236.41.133 with SMTP id h5mr32835810yhb.22.1385494277069; Tue, 26 Nov 2013 11:31:17 -0800 (PST) Received: from [127.0.0.1] (ec2-54-235-159-137.compute-1.amazonaws.com. [54.235.159.137]) by mx.google.com with ESMTPSA id 9sm27342572yhe.21.2013.11.26.11.31.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Nov 2013 11:31:16 -0800 (PST) MIME-Version: 1.0 X-Mailer: Nodemailer (0.5.0; +http://www.nodemailer.com/) Date: Tue, 26 Nov 2013 11:31:16 -0800 (PST) Message-Id: <1385494276258.8e21c48b@Nodemailer> In-Reply-To: References: X-Orchestra-Oid: AF8AD5D1-AFFE-43D2-AB68-30957AF724B6 X-Orchestra-Sig: ca35db76a10b3756d41720ebfb076a0c31d55fa0 X-Orchestra-Thrid: T08F2140B-3604-4A21-AD77-E41BFB424FDE_1452789449521520202 X-Orchestra-Thrid-Sig: e0dbb4a966f7a2bd805e0a5934c62d4e6517448a X-Orchestra-Account: 6d26b12ea1ba44c742063a936be9f6d58396ffc5 From: "Kumar Ranjan" To: user@cassandra.apache.org Subject: Re: Choosing python client lib for Cassandra Content-Type: multipart/alternative; boundary="----Nodemailer-0.5.0-?=_1-1385494276688" X-Virus-Checked: Checked by ClamAV on apache.org ------Nodemailer-0.5.0-?=_1-1385494276688 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Jon - you are right. Its that I understand other ORM like python = sqlalchemy or perl DBIX by heart. So i can cql faster than use cqlengine. I= will give a shot at python-driver based on Michael's recommendation. =E2=80=94 Sent from Mailbox for iPhone On Tue, Nov 26, 2013 at 2:21 PM, Jonathan Haddad wrote: > We're currently using the =22cql=22 package, which is really a wrapper = around > thrift. > To your concern about deadlines, I'm not sure how writing raw CQL is = going > to be any faster than using a mapper library for anything other than the > most trivial of project. > On Tue, Nov 26, 2013 at 11:09 AM, Kumar Ranjan = wrote: >> Jon - Thanks. As I understand, cqlengine is an object mapper and must = be >> using for cql prepare statements. What are you wrapping it with, in >> alternative to python-driver=3F >> =E2=80=94 >> Sent from Mailbox for iPhone >> >> >> On Tue, Nov 26, 2013 at 1:19 PM, Jonathan Haddad wrote: >> >>> So, for cqlengine (https://github.com/cqlengine/cqlengine), we're >>> currently using the thrift api to execute CQL until the native driver = is >>> out of beta. I'm a little biased in recommending it, since I'm one of = the >>> primary authors. If you've got cqlengine specific questions, head to = the >>> mailing list: https://groups.google.com/forum/#!forum/cqlengine-users >>> >>> If you want to roll your own solution, it might make sense to take an >>> approach like we did and throw a layer on top of thrift so you don't = have >>> to do a massive rewrite of your entire app once you want to go native. >>> >>> Jon >>> >>> >>> On Tue, Nov 26, 2013 at 9:46 AM, Kumar Ranjan wrote: >>> >>>> I have worked with Pycassa before and wrote a wrapper to use batch >>>> mutation & connection pooling etc. But >>>> http://wiki.apache.org/cassandra/ClientOptions recommends now to use >>>> CQL 3 based api because Thrift based api (Pycassa) will be supported = for >>>> backward compatibility only. Apache site recommends to use Python api >>>> written by DataStax which is still in Beta (As per their = documentation). >>>> See warnings from their python-driver/README.rst file >>>> >>>> *Warning* >>>> >>>> This driver is currently under heavy development, so the API and = layout >>>> of packages,modules, classes, and functions are subject to change. = There >>>> may also be serious bugs, so usage in a production environment is = *not* recommended >>>> at this time. >>>> >>>> DataStax site http://www.datastax.com/download/clientdrivers = recommends >>>> using DB-API 2.0 plus legacy api's. Is there more=3F Has any one = compared >>>> between CQL 3 based apis=3F Which stands out on top=3F Answers based = on facts >>>> will help the community so please refrain from opinions. >>>> >>>> Please help =3F=3F >>>> >>> >>> >>> >>> -- >>> Jon Haddad >>> http://www.rustyrazorblade.com >>> skype: rustyrazorblade >>> >> >> > --=20 > Jon Haddad > http://www.rustyrazorblade.com > skype: rustyrazorblade ------Nodemailer-0.5.0-?=_1-1385494276688 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi Jon - you are right. Its that I understand other ORM like python = sqlalchemy or perl DBIX by heart. So i can cql faster than use cqlengine. I= will give a shot at python-driver based on Michael's recommendation.=
=E2=80=94
Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 2:21 PM= , Jonathan Haddad <jon@jonhaddad.com> = wrote:

We're currently using the =22cql=22 package, which is really a wrapper= around thrift.=C2=A0

To your concern about deadlines, I'm not sure how writing raw CQL is = going to be any faster than using a mapper library for anything other than = the most trivial of project. =C2=A0



On Tue, Nov 26, 2013 at 11:09 AM, = Kumar Ranjan <winnerdood@gmail.com> wrote:
Jon - Thanks. As I understand, cqlengine is an object mapper and must = be using for cql prepare statements. What are you wrapping it with, in = alternative to python-driver=3F=C2=A0
=E2=80=94
Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 1:19 PM, Jonathan Haddad <jon@jonhaddad.= com> wrote:

So, for cqlengine (https://github.com/cqlengine/cqlengine), = we're currently using the thrift api to execute CQL until the native driver= is out of beta. =C2=A0I'm a little biased in recommending it, since I'm = one of the primary authors. =C2=A0If you've got cqlengine specific = questions, head to the mailing list:=C2=A0https://groups.google.= com/forum/#!forum/cqlengine-users

If you want to roll your own solution, it might make sense to take an = approach like we did and throw a layer on top of thrift so you don't have = to do a massive rewrite of your entire app once you want to go native.=

Jon


On Tue, Nov 26, 2013 at 9:46 AM, = Kumar Ranjan <winnerdood@gmail.com> wrote:

I have worked with Pycassa before and wrote a wrapper to use batch mutation= & connection pooling etc. But=C2=A0http:/= /wiki.apache.org/cassandra/ClientOptions=C2=A0recommends now to use CQL= 3 based api because Thrift based api (Pycassa) will be supported for = backward compatibility only. Apache site recommends to use Python api = written by DataStax which is still in Beta (As per their documentation). = See warnings from their python-driver/README.rst file

Warning

This driver is = currently under heavy development, so the API and layout of packages,= modules, classes, and functions are subject to change. There may also be = serious bugs, so usage in a production environment is=C2=A0not=C2=A0recommended at this time.

DataStax = site=C2=A0http://www.datastax.com/download/clientdrivers= =C2=A0recommends using DB-API 2.0 plus legacy api's. Is there more=3F = Has any one compared between CQL 3 based apis=3F Which stands out on top=3F= Answers based on facts will help the community so please refrain from = opinions.

Please help = =3F=3F




--
Jon Haddad
http://www.rustyrazorblade.= com
skype: rustyrazorblade




--
Jon Haddad
http://www.rustyrazorblade.= com
skype: rustyrazorblade

------Nodemailer-0.5.0-?=_1-1385494276688--