Posts Filed in "Python"

21

Jan

Filed in Code, Django, Python with View Comments |

I’ve finally completed what I’ll call “phase 1″ of the caching layer. It handles the easiest, and for my cases, the most useful level of cache invalidation: removing objects.
“Phase 1″ Features:

Automatic caching of querysets.
Invalidating querysets when an object is removed.
Caching querysets objects in a key by key basis (per-object caching).
Automatic invalidation of per-object caches.

Grab the [...]

21

Jan

Filed in Code, Django, Python with View Comments |

Thanks to Michael Moroz there is now initial unicode support in the django-sphinx project. I have also went ahead and setup SVN for the project at Google code.
I will be updating the code with some timeout parameters and the requested weight attributes sometime over the next week.

19

Jan

Filed in Code, Python with View Comments |

(Because I didn’t know what else to call it).
Anyways, I updated to Firefox 3 when RC1 came out. I figure, “hey, it’s about to be released, extensions will work soon”. Then they go and back down. Me being as a developer as I am (generally lazy), I didn’t want to uninstall. Plus there’s the fact [...]

29

Oct

Filed in Code, Curse, Django, Python with View Comments |

Curse is seeking a Python engineer to join a small development team tasked with ongoing feature development and maintenance of a django based MMO gaming portal website. Candidate should have experience w/ scaling webapps for highly concurrent access, and the issues involved:

Understanding of sharding
Issues caused by replication
Understanding of web caching methods (cache headers, etags, [...]

7

Sep

Filed in Code, Django, Python with View Comments |

Since we haven’t had time to finish setting up code.curse.com, I pushed both our wikimarkup app, and the SphinxSearch ORM layer to Google code.
wikimarkup is a Python library (Django isn’t required) which allows you to format text based on the MediaWiki standards. Several benchmarks we did have shown this to be 2-2.5x faster than Trac’s [...]

4

Jul

Filed in Code, Curse, Django, Python with View 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 View Comments |

Since we’re having some issues at Curse (hardware now ) 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 [...]

23

May

Filed in Curse, Django, Other, Python with View 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