Cache Rules Everything Around Me

Type:
Talk
Audience level:
Intermediate
Category:
Web Frameworks
March 10th 2:55 p.m. – 3:40 p.m.

Description

This talk aims to briefly introduce the core concepts of caching and covers the best practices of implementing them, using a small variety of python web frameworks (Flask, Django) for example code.

Abstract

"Are you caching?" is a question asked early on in any yarn on web scaling advice. These conversations are much better steered by asking a more open and difficult questions "What is your caching strategy?" and “How are you implementing it?” This talk aims to briefly introduce the core concepts of caching and quickly moves to cover the best practices using Django and Flask for example code. We will let the audience know what the important questions to ask are, give them advice on how to implement the right answers, and when even the built-in core backend isn’t enough, point them to more advanced techniques and the right third party tools.

Important questions covered:

Why am I caching in the first place? Do I have to?

What is your caching strategy?

What are examples of good caching strategies?

Where do I put my cache code?

How dynamic is my content? Could I use a published cache?

Should I cache Python objects/classes, or base Python types?