Live data from Hacker News

Poll: Pythonic startups: what web framework do you use?

news.ycombinator.com

41–50 of 76 posts

Re: Poll: Pythonic startups: what web framework do you use?

#41
Tipjoy is my first web project, actually. I started knowing python. I tried frameworks, and quit when something failed. Django was the first to go from start to live test site touch using a DB without a hiccup. I think that means something for both the quality of the documentation and the framework.

TurboGears, web.py, and Pylons failed the test.

The Python community would benefit from more people switching to Django. It does have the approval of the BDFL, after all.

Re: Poll: Pythonic startups: what web framework do you use?

#42
post #35
post #14

Earlier quoted context omitted.

* squid reverse proxies * memcached * low memory footprint httpd serving static content (e.g. nginx / lighttpd etc.)

Why squid instead of varnish?

I didn't know about Varnish so I found the link: http://varnish.projects.linpro.no/. There's commercial support for it too: http://varnish-cache.com/

Thanks for the resource. This will come in handy.

Re: Poll: Pythonic startups: what web framework do you use?

#45

Wait... there are people who wrote their own framework... in the year 2009?

Although it's not on the list, WSGI is the framework. The most simple and flexible one (it must be, as all the other frameworks on the list are based on it).

Frameworks are great up to a point. If you burger flip web sites all the time, then they make your life easy.

If you only deal with one site, you will never get the flexibility of pure WSGI with some prefabricated framework.

Re: Poll: Pythonic startups: what web framework do you use?

#46
post #7

Would someone that up'd Django please outline their plans to scale?

Ellington, which is a Django based CMS runs the Washington Post web site: http://www.ellingtoncms.com/ I don't have doubts about Django scaling. The caching framework is really cool. I did a test a couple of weeks ago, and I got a 10x performance boost, simply by sprinkling 3-4 lines of caching code to my site. That was justing the local memory caching: http://docs.djangoproject.com/en/1.0/topics/cache/#local-mem...…

Caching != Scaling

Re: Poll: Pythonic startups: what web framework do you use?

#47
post #7

Would someone that up'd Django please outline their plans to scale?

Ellington, which is a Django based CMS runs the Washington Post web site: http://www.ellingtoncms.com/ I don't have doubts about Django scaling. The caching framework is really cool. I did a test a couple of weeks ago, and I got a 10x performance boost, simply by sprinkling 3-4 lines of caching code to my site. That was justing the local memory caching: http://docs.djangoproject.com/en/1.0/topics/cache/#local-mem...…

Ellington does not run the entire Washington Post site. A number of specific applications on washingtonpost.com use Django (e.g., projects.washingtonpost.com/congress), but the main site (articles, columns, etc.) does not use Django.

Signed, the guy who introduced Django to washingtonpost.com

Re: Poll: Pythonic startups: what web framework do you use?

#48
post #46

Earlier quoted context omitted.

Ellington, which is a Django based CMS runs the Washington Post web site: http://www.ellingtoncms.com/ I don't have doubts about Django scaling. The caching framework is really cool. I did a test a couple of weeks ago, and I got a 10x performance boost, simply by sprinkling 3-4 lines of caching code to my site. That was justing the local memory caching: http://docs.djangoproject.com/en/1.0/topics/cache/#local-mem...…

Caching != Scaling

So what does exactly equal scaling then?

I'm not disagreeing that scaling isn't only caching, but it's often a component just like anything else. Caching often helps scaling, as do multiple databases, working out bottlenecks in code...whatever else.

Re: Poll: Pythonic startups: what web framework do you use?

#49
post #28

Am I the only one who likes CherryPy?

CherryPy is a hugely underappreciated project in the Python community.

Its HTTP implementation is top notch, its tool system is a great way to write custom modules, it has excellent WSGI support, and it's just about the fastest HTTP server in Python that takes a thread-based concurrency approach.

I was the first engineer hired on a team that built an online survey-research company. We started using twisted/nevow, but eventually moved to an in-house web framework on written on CherryPy. Lots of tools have come and gone (mostly, we've rewritten components we found lacking) but CherryPy has never let us down. We even ended up hiring a large portion of the CherryPy team.

Our experiences with it were positive enough that I'm building a startup right now on a similar CherryPy-based stack (at least partially--there's also a bit of Erlang involved for the high-concurrency stuff).

If you're considering stitching together your own Python Web framework--as many shops eventually do--I highly recommend CherryPy be used as the foundation.

Re: Poll: Pythonic startups: what web framework do you use?

#50
post #49
post #28

Am I the only one who likes CherryPy?

CherryPy is a hugely underappreciated project in the Python community. Its HTTP implementation is top notch, its tool system is a great way to write custom modules, it has excellent WSGI support, and it's just about the fastest HTTP server in Python that takes a thread-based concurrency approach. I was the first engineer hired on a team that built an online survey-research company. We started using twisted/nevow, but…

Bad form replying to myself, but one more thing worth clarifying:

All the above being said, it's only fair to acknowledge that this isn't quite apples-to-apples when you look at CherryPy vs. something like Django. CherryPy isn't really a full-stack web framework, it's an HTTP server attached to a configuration and tool system that facilitates the creation of custom web frameworks.

Post reply on HN