Posts Filed in "Python"

4

Jul

Filed in Code, Curse, Django, Python with 2 comments |

Tired of writing cache.set code?
http://blogs.curse.com/25/details/38/
This is something I’ll be polishing up over the next few days, but the paste is pretty self explanatory. We will release the source (packaged) on code.curse.com as soon as its finalized and we generate unittests/proper docs.
I will throw this up on DjangoSnippets as soon as James creates a lost password [...]

24

May

Filed in Curse, Django, Python with 20 comments |

Since we’re having some issues at Curse (hardware now :P) and because our technologies page doesnt explain everything, below are more technical details.
Software:

Apache2 + mod_python for the web servers
lighttpd + fcgi (mostly for static, we had SEVERE issues using fcgi for the entire Django site, weakref stuff, never found a solution)
memcached — every web [...]

23

May

Filed in Curse, Django, Other, Python with 14 comments |

How do you keep things quick for development and streamlined for high-load? Using a Django and LAMP setup that’s how. We had a pretty busy couple of days over at Curse (what powers curse) and managed to keep a consistent 500,000+ page views per hour with our web servers only be minimally loaded on CPU [...]

« Previous Page