All articles by Yann Malet

Image for Varnish Saint Mode

Varnish Saint Mode

Varnish Saint Mode is a lesser known gem inside varnish that lets you serve stale content from cache, even when your backend servers are unavailable. This article explains how to configure varnish to take advantage of this feature. If you …
Image for A Djangonaut Building a Webapp in Go with Gorilla

A Djangonaut Building a Webapp in Go with Gorilla

At Lincoln Loop, we have been building large web applications using Django since 2007. Recently, however, we have recently started using Go as a critical network component of Botbot.me. Reading others' successes stories about replacing some existing components of their …
Image for Test Coverage in Go

Test Coverage in Go

An important part of the process process of learning a new language is to learn the ecosystem that helps you to write better code. In a previous article I covered gdb integration with Go. Next on my list is to …
Image for Introduction to Go Debugging with GDB

Introduction to Go Debugging with GDB

I spent the vast majority of my time in the last 4 years writing, reading and debugging Python or JavaScript code. The process of learning Go was like a beautiful hike in the mountains with a small rock in my …
Image for Django Caching in the Real World: Part 1

Django Caching in the Real World: Part 1

When you develop a sizable content heavy web site you quickly learn, hopefully not the hard way, that caching is a very important piece of your infrastructure. The database servers are the typical bottleneck in high volume website. Common wisdom …
Image for Custom Filters in the Django Admin

Custom Filters in the Django Admin

A few weeks ago Django’s team revealed a data leakage bug in the admin application that affects an extremely interesting and undocumented feature. A user that has access to a change_list page of an object in the admin interface can …
Image for Using Proxy Models to Customize the Django Admin

Using Proxy Models to Customize the Django Admin

Fellow Lincoln Looper, Martin Mahner, posted an excellent write up on how to use proxy models to separate staff and user accounts in Django’s admin. We frequently have a need for this in client projects, but people don’t often consider …
Image for Using Django Inside the Tornado Web Server

Using Django Inside the Tornado Web Server

Inspired by Eric Florenzano’s talk, Using Django in Non-Standard Ways (slides in PDF) at DjangoCon and the announcement of Tornado (tornadoweb.org), I decided to try building a small application using the Django Form library and Django ORM inside Tornado. The …