Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Some thoughts I've had last night while handling a beer: A web UI for Cassandra, will be sometimes querying remote APIs (JMX, Thrift), for every node in the cluster. So, about the non-blocking/blocking issue that Brandon pointed out: - In a totally synchronous/blocking approach, I

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread David Timothy Strauss
a heavyweight framework and hopefully nothing other than a Cassandra connection to run. -Original Message- From: Pablo Cuadrado pablocuadr...@gmail.com Date: Fri, 9 Apr 2010 11:55:46 To: dev@cassandra.apache.org Subject: python web framework suggestions (for Cassandra Web UI) needed

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Yes, in the big picture, I guess Pylons has a greater community and adoption. On Tue, Apr 13, 2010 at 4:47 PM, Miguel Verde miguelitov...@gmail.com wrote: -1 vote for Tornado.  As far as I know, it still doesn't run on Windows and has had only 2 releases.  I don't think it makes sense to push

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Todd: Very valuable comments, that's just the kind of problem I believe should be addressed with an asynchronous approach. On Tue, Apr 13, 2010 at 5:20 PM, Todd Lipcon t...@cloudera.com wrote: Not going to vote either way, as I haven't contributed to Cassandra in over a year :) But one quick

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Eric Florenzano
On Tue, Apr 13, 2010 at 1:20 PM, Todd Lipcon t...@cloudera.com wrote: The big downside I see with Django and other WSGI based frameworks is that it becomes difficult to run background threads in a clean way. This can be handled by using Eventlet or GEvent. See the gevent webchat demo, for

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-09 Thread Joseph Bowman
Way back when I wanted to try and use node.js and Cassandra, I started work on a restful interface using Tornado and Lazyboy. I've since moved on from that idea and the project is way out of date, but you can see what I had done at this project on github - http://github.com/joerussbowman/jsondra

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-09 Thread Dan Di Spaltro
I like Django. Its wide adoption, great docs and included batteries make it an easy sell. But what your describing is more like a pylons, aka if you dont want an orm in Pylons, don't include it. On Fri, Apr 9, 2010 at 8:49 AM, Matthew Dennis mden...@merfer.net wrote: +1 for pylons, I've been

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-09 Thread Pablo Cuadrado
Joseph: Is it somehow similar to Twisted? am I wrong? On Fri, Apr 9, 2010 at 1:55 PM, Joseph Bowman bowman.jos...@gmail.com wrote: Well Tornado is light weight, it is it's own web server as well, so no need to run something like apache in front of it, and is a nice light framework. It's an

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-09 Thread Brandon Williams
On Fri, Apr 9, 2010 at 11:57 AM, Pablo Cuadrado pablocuadr...@gmail.comwrote: Joseph: Is it somehow similar to Twisted? am I wrong? Yes, minus every protocol other than HTTP, daemonization utils, etc. Oh, and thrift doesn't have a generator for it last I checked. -Brandon