Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 51753 invoked from network); 11 Apr 2010 07:59:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Apr 2010 07:59:32 -0000 Received: (qmail 37565 invoked by uid 500); 11 Apr 2010 07:59:32 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 37470 invoked by uid 500); 11 Apr 2010 07:59:32 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 37460 invoked by uid 99); 11 Apr 2010 07:59:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Apr 2010 07:59:31 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of floguy@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Apr 2010 07:59:24 +0000 Received: by pwj2 with SMTP id 2so3833434pwj.31 for ; Sun, 11 Apr 2010 00:59:03 -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 :from:date:received:message-id:subject:to:content-type; bh=biky1Cj2MoT6miM2HQvQODILUYrbzkZiw7YA+PJdcuE=; b=w/85SaiZlgbvIM7K5+DeAU1v0MGYcUEcnSkPhXwEax2muhVEqYF/V+GsuLa0xXMuNB ANP3PcGgBuHH3VDYrW11YRH+4mjJ65l8DXMAmYcgnPfLxEjglTlh+q1B5Oi5diGd6eB5 yxPJdJ4IL77Rv1xCb3jxoWp569oCXyH+tJnFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=bZgibzxqRXippmpCQ5l08nZfDBu3iUbSD3QYKX/hYD18o+bQ0P35yabgh25Gi+avoW 3tgWgN5UTYEXSDJTM10X8laugIQGbmmibf3JqcyFUIICi6HBKYhKDrG+BroJ7XWXrq7W VHs7PkTug8msT45QfYPF4o/VG6JF+ri7fSlc4= MIME-Version: 1.0 Received: by 10.142.213.15 with HTTP; Sun, 11 Apr 2010 00:58:43 -0700 (PDT) In-Reply-To: References: From: Eric Florenzano Date: Sun, 11 Apr 2010 00:58:43 -0700 Received: by 10.142.250.23 with SMTP id x23mr1030853wfh.214.1270972743135; Sun, 11 Apr 2010 00:59:03 -0700 (PDT) Message-ID: Subject: Re: python web framework suggestions (for Cassandra Web UI) needed To: dev@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636ed6833dfb5700483f1663b X-Virus-Checked: Checked by ClamAV on apache.org --001636ed6833dfb5700483f1663b Content-Type: text/plain; charset=ISO-8859-1 Bottom line with this kind of a project is to go with what you're most familiar with. If you're equally unfamiliar with all frameworks, then the quality of documentation becomes more important. Personally, I'd take a hard look at Werkzeug--it's a library, not a framework. Which means you get to pick and choose what bits you want in a sort of a-la-carte way. In the end, similarly to Pylons or Django, you get a WSGI app that can be served out of the many different WSGI-aware web servers like Apache's mod_wsgi, gunicorn, cherrypy, or even the builtin wsgiref from the standard library. Anyway, I'm not sure if that helps or makes things more confusing :) Thanks, Eric Florenzano On Fri, Apr 9, 2010 at 10:23 AM, Pablo Cuadrado wrote: > It is indeed a web framework, and made for sys admins to interact with > Cassandra, not for hosting millions of users concurrently. > > And you're right: those are helloworld benchmarks. > > I was concerned a few days ago about the sync/async issue, browsing > over examples on Telephus, Twissandra, Lazyboy, Pycassa... then I > thought that Lazyboy is largely being used in production AFAIK, so > I've just kept it in my mind. > > However, the communication layer for the web UI, should (and hopefully > it will) be independent, in case we want to make this changes in the > future. > > On Fri, Apr 9, 2010 at 2:10 PM, Joseph Bowman > wrote: > > I don't really consider any hello world benchmarks valid, you'd want to > > investigate what your implementation would entail in different frameworks > > and do mini-benchmarks to validate which is faster. But, if it's just a > web > > framework, as Brandon said, I doubt performance will matter to any great > > degree. You'd be more concerned about Cassandra's performance, which is > > pretty darn good. > > > > On Fri, Apr 9, 2010 at 1:07 PM, Brandon Williams > wrote: > > > >> On Fri, Apr 9, 2010 at 12:04 PM, Pablo Cuadrado < > pablocuadrado@gmail.com > >> >wrote: > >> > >> > Yes, I'm planning on Lazyboy. > >> > > >> > The Performance part on the Tornado wiki is quite impressive. Do you > >> > think it's accurate? > >> > > >> > http://www.tornadoweb.org/documentation#performance > >> > >> > >> Using Lazyboy, you'd be mixing blocking sockets with a nonblocking event > >> loop, so performance is likely less than optimal. That said, I doubt > >> performance is a concern with a web UI. > >> > >> -Brandon > >> > > > --001636ed6833dfb5700483f1663b--