Using Memcached and Varnish to Speed Up Your Linux Web App
Caching is an effective way to speed up and scale your website or web application with minimal code changes. This course will teach you how to use two common caching tools so you can vastly increase speed and capacity in minutes.
What you'll learn
Does your code make users wait for a slow process to complete, or overload your server? Optimizing for performance can be very difficult and result in code that you can't maintain. Good caching allows you to avoid that most of the time and get vastly better speed and scalability with little change to your code. It can also be applied to any Linux-based web application regardless of the language and database. In this course, Using Memcached and Varnish to Speed Up Your Linux Web App, you're going to see how caching tools can quickly make your website faster and more scalable. First, you'll learn how to get started quickly with Memcached and Varnish and learn how to tune them for the best performance in each use case. Next, you'll discover how to use advanced features that increase your uptime. Finally, you'll explore how to mix cached content and dynamic content with Varnish. By the end of this course, you'll know how to resolve the biggest performance pain points in your application using caching tools.
Table of contents
- How Varnish Works 4m
- Demo: Installing and Using Varnish 5m
- Expiring Data 1m
- Demo: Setting Expiry Time 1m
- Demo: Forcing Page Refresh 2m
- Demo: Configuring Purge Command in Varnish 5m
- Using Varnish to Hide Errors 1m
- Demo: Using the Cache When Server Is Down 6m
- Demo: Handling Page Errors with the Cache 5m
- Demo: Using Varnish as a Load Balancer 2m
- Module Review 1m