Re:Poll: Pythonic startups: what web framework do you use?
by adrianh on Thursday March 19, 2009 @02:45PM
(#523770)
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?
by wensing on Thursday March 19, 2009 @01:22PM
(#523634)
If you're using nginx, you can install the memcache module, which lets you speak directly to memcache and bypass Django's CacheMiddleware altogether.
Re:Poll: Pythonic startups: what web framework do you use?
by zepolen on Thursday March 19, 2009 @02:40PM
(#523754)
Caching != Scaling
Re:Poll: Pythonic startups: what web framework do you use?
by caudicus on Thursday March 19, 2009 @02:48PM
(#523776)
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?
by zepolen on Thursday March 19, 2009 @03:57PM
(#523901)
Scaling = Increasing capacity indefinitely by adding more nodes.
Caching is not scaling because by definition, it depends on a backend to provide it data.
If the backend is a database then sure, you can increase capacity by ~10x (assuming a ~90% cache hit rate), but after that, throwing more caching nodes at the problem won't do a thing if your database itself isn't scalable.
All a cache does is increase speed at decreased costs, but it is not in itself a scaling solution.
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...
I'd imagine that using a caching back end like memcache would probably give another huge performance boost. It's really pretty straight-forward and usable out of the box.