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 B9994DB2D for ; Fri, 17 Aug 2012 13:53:44 +0000 (UTC) Received: (qmail 69996 invoked by uid 500); 17 Aug 2012 13:53:42 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 69971 invoked by uid 500); 17 Aug 2012 13:53:42 -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 69960 invoked by uid 99); 17 Aug 2012 13:53:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 13:53:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edlinuxguru@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-yx0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 13:53:36 +0000 Received: by yenm5 with SMTP id m5so4391704yen.31 for ; Fri, 17 Aug 2012 06:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zZ1x1w0EUhWV3/idJL5fMcAPlxl/QUkv6MtCGRUMpJg=; b=dr0KcfdDd/Jkc1eJ/PAxP/oF4ZILQilb9BL2mXstuGfatdCi3EQ2jix/5ALWrH5znk rIgT+rYeYvkF8q/iPnXgVi1Akxo1uOimRi2vEC8zT/RJIMge/wic7wgty7Z4d+3giung 3tH7TaNHHFzWnMvHbuO5jp0pEB5bHbsfIQ85C5TMA55oeqNwJRtzSr4+nzwt+sJbtl0W epdtKqoSrdl668IPmmYJwmwlg788VO0HGQ4+VTqr0qwqqoBxqJdt9MCzkbZG2zU2Pxwe 0wbIHQ5EiKSV59SqBAzlAVxx0fBMpQupba2srtpwtunIr0bu+ZCa/o8bsuiFmm0uKgX5 7CvA== MIME-Version: 1.0 Received: by 10.50.196.135 with SMTP id im7mr2083650igc.14.1345211595705; Fri, 17 Aug 2012 06:53:15 -0700 (PDT) Received: by 10.64.86.227 with HTTP; Fri, 17 Aug 2012 06:53:15 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 Aug 2012 09:53:15 -0400 Message-ID: Subject: Re: What is the ideal server-side technology stack to use with Cassandra? From: Edward Capriolo To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 The best stack is the THC stack. :) Tomcat Hadoop Cassandra :) On Fri, Aug 17, 2012 at 6:09 AM, Andy Ballingall TF wrote: > Hi, > > I've been running a number of tests with Cassandra using a couple of > PHP drivers (namely PHPCassa (https://github.com/thobbs/phpcassa/) and > PDO-cassandra (http://code.google.com/a/apache-extras.org/p/cassandra-pdo/), > and the experience hasn't been great, mainly because I can't try out > the CQL3. > > Aaron Morton (aaron@thelastpickle.com) advised: > > "If possible i would avoid using PHP. The PHP story with cassandra has > not been great in the past. There is little love for it, so it takes a > while for work changes to get in the client drivers. > > AFAIK it lacks server side states which makes connection pooling > impossible. You should not pool cassandra connections in something > like HAProxy." > > So my question is - if you were to build a new scalable project from > scratch tomorrow sitting on top of Cassandra, which technologies would > you select to serve HTTP requests to ensure you get: > > a) The best support from the cassandra community (e.g. timely updates > of drivers, better stability) > b) Optimal efficiency between webservers and cassandra cluster, in > terms of the performance of individual requests and in the volumes of > connections handled per second > c) Ease of development and and deployment. > > What worked for you, and why? What didn't work for you? > > > Thanks, > Andy > > > -- > Andy Ballingall > Senior Software Engineer > > The Foundry > 6th Floor, The Communications Building, > 48, Leicester Square, > London, WC2H 7LT, UK > Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 > Web: http://www.thefoundry.co.uk/ > > The Foundry Visionmongers Ltd. > Registered in England and Wales No: 4642027