Python Web Apps that Fly with CDNs Course
What students are saying
Source code and course GitHub repositorygithub.com/talkpython/fast-python-webapps-with-cdns
🐦🔥 Early-bird discount
For launch week (April 4 -> April 8), we offering 10% off the list price. If you're considering picking up this course, do so this week to save a bit more on the purchase (and thank you!)
It's not just server-side Python performance that matters
Building a high performance Python web app requires many key elements. First you likely focus on your Python code and making the database fast. But on my web page requests, that Python HTML response is a small, although important, portion. It’s common to have 30, 40, 50, or more requests per page. In production, the frequent guidance is to host these behind nginx or similar server. Often that is enough. But by bringing a CDN into the mix to globally replicate and localize all those requests can seriously improve the perceived speed of your app for a global user-base. But did you know that these static resources can put a massive load on your server too? This course will give you a step by step guide with live code demos on how to incorporate a CDN (Bunny CND specifically) with a Flask application. You will also see the before and after performance stats from Talk Python’s web infrastructure from last year’s Black Friday week of traffic.
What will you learn?
In this course, you will:
- See how CDNs work and interplay with your web application
- Leverage the CDN to deliver globally-scaled, geo-replicated content
- Avoid stale cache content while 100% caching static content on the CDN and clients
- Host large, user-generated content (audio, video, documents, etc.)
- Use storage zones to serve large content globally
- Debug issues with CDN content at the CDN level, web app level, and browser level
- Test user-percieved performance for your web app (full page loads, not just Python paths)
- Replace Google fonts with GDPR / privacy friendly alternatives
And lots more
View the full course outline.
Who is this course for?
For anyone who has or is building a Python-based we application and wants the best experience for their users.
As for prerequisites, we assume:
- Basic familiarity with the Python programming language and core tools (e.g. pip)
- That you know how web applications work and are familiar with HTTP and HTML
- We do use Flask, but you don't need a deep understanding of it to be successful
The tools chosen and featured during this course are 100% free and most of them are open source or have free and solid alternatives.
Concepts backed by concise visuals
While exploring a topic interactively with demos and live code is very engaging, it can lose the forest for the trees. That's why when we hit a new topic, we stop and discuss it with concise and clear visuals.
Here's an animation presenting the multiple levels of caching that add performance but also introduce cache staleness. We then go on to present several options for avoiding stale cache content entirely without sacrificing performance.
Follow along with subtitles and transcripts
Each course comes with subtitles and full transcripts. The transcripts are available as a separate searchable page for each lecture. They also are available in course-wide search results to help you find just the right lecture.
Who am I? Why should you take my course?
My name is Michael, nice to meet you. ;) There are a couple of reasons I'm especially qualified to teach you Python.
1. I'm the host of the #1 podcast on Python called Talk Python To Me. Over there, I've interviewed many of the leaders and creators in the Python community. I bring that perspective to all the courses I create.
2. I've been a professional software trainer for over 10 years. I have taught literally thousands of professional developers in hundreds of courses throughout the world.
3. Students have loved my courses. Here are just a few quotes from past students of mine.
"Michael is super knowledgeable, loves his craft, and he conveys it all well. I would highly recommend his training class anytime." - Robert F.
"Michael is simply an outstanding instructor." - Kevin R.
"Michael was an encyclopedia for the deep inner workings of Python. Very impressive." - Neal L.
Free office hours keep you from getting stuck
One of the challenges of self-paced online learning is getting stuck. It can be hard to get the help you need to get unstuck.
That's why at Talk Python Training, we offer live, online office hours. You drop in and join a group of fellow students to chat about your course progress and see solutions via screen sharing.
Just visit your account page to see the upcoming office hour schedule.
This course is delivered in very high resolution
This course is delivered in 1440p (4x the pixels as 720p). When you're watching the videos for this course, it will feel like you're sitting next to the instructor looking at their screen.
Every little detail, menu item, and icon is clear and crisp. Watch the introductory video at the top of this page to see an example.
The time to act is now
For just a few dollars and hours of your time, you could be delivering your web app through an incredible global network of over 100 servers giving your (potentially) modest application the powerful infrastructure driving top tech companies such as Google, Soundcloud, and pretty much every other tech company that comes to mind. Join the course and get started today.
Questions? Send us an email: firstname.lastname@example.org