Nagios check for Varnish Backends
We recently starting using Varnish to cache un-authenticated requests to our web farm. It even has this great feature called grace mode, where it will keep ...
We recently starting using Varnish to cache un-authenticated requests to our web farm. It even has this great feature called grace mode, where it will keep ...
Typically, I try to implement a dynamic UI feature without javascript on the first pass. Then, I layer in a little javascript goodness to make it more respo...
For the most part, objects allocated by Django are short-lived, and are eligible for garbage collection when the request ends. In our case, we also have som...
Do you know how many database queries your Django pages are making? If you're like me, you probably don't know exactly. That's the beauty of the ORM; it abs...
Django has a well known issue with "<IDLE> in transaction" queries piling up. I have found that simply "<IDLE>" queries also have a tendency to ...
Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, such as Squid, which began life as a cl...
Haystack is a great indexed search framework for Django. Getting started is easy, and it includes many data types and facets out of the box. However, one da...
Celery 2.3 has a few high level knobs to turn with regards to exception emails. You can whitelist exceptions by type. You can change the recipients, email s...
On pages that contain filter controls, such as search results pages, it's common for the filter selections to be put into the URL using query parameters. Th...
In my Django applications, I tend to use custom middleware extensively for common tasks. I have middleware that logs page runtime, middleware that sets cont...