NGINX Plus Advanced Caching

NGINX Plus Advanced Caching

Summary

NGINX Plus Advanced Caching is an 4-hour course that picks up where NGINX Core leaves off -- providing a deep dive into how caching works, tools to manage your cache, techniques for tuning your cache, and methods to scale your cache.

Description

NGINX Plus Advanced Caching is for system admins and DevOps who need a deeper understanding of NGINX Caching.

The course begins with a brief review of caching basics from NGINX Core. Participants then dive into how caching works – exploring cache types, cache controls, cache loader, cache manager and the cache layout on disk. Once you've finished with the basics, you'll dive more deeply into managing cached content. You'll run manual purges of cached content, load previously cached data, and configure the cache loader to load the cache incrementally. Next, you'll explore tuning the cache. You'll use proxy_cache_bypass and no_cache directives to appropriately identify content that should and should not be cached. You'll also manage how and when NGINX will deliver stale content and override caching instructions from the origin server. NGINX Plus Advanced Caching finishes with issues arising from cache under load. You'll implement microcaching. You'll scale your cache across multiple disks and learn how to make sure blocking doesn't occur when writing large amounts of data to caching. Finally, you'll implement byte-range caching, discuss clustering for scalability and HA, and shard your cache.

Duration

4 hours

Objectives

  • Configure a cache for static content
  • Explain how caching works
  • Map content to its cached version
  • Manually purge the cache
  • Load cache from disk
  • Manage which content is cached
  • Determine how to manage stale content
  • Configure microcaching
  • Use byte-range caching to speed delivery of very large files from cache

Audience

NGINX Plus Advanced Caching is for system administrators, DevOps, and others with more complex caching requirements.

Prerequisites

NGINX Plus Advanced Caching is for people who've completed NGINX Plus or who have commensurate experience. Hands on labs require running basic UNIX commands, navigating the files system, and creating and editing configuration files at the command line.

Additional Notes

NGINX Plus Advanced Caching is a 1/2 day, 4-hour course including hands-on labs.

Outline

  • How Caching Works
    • Review of basic cache configuration
    • LAB: Set up basic cache
    • NGINX Cache types
    • How caching works (cache control headers, expires, etag...)
    • Understanding the cache loader and cache manager processes
    • Understanding the cache layout on disk
    • LAB: Map files on disk to cache
    • Debug the cache.
    • Extended status
    • LAB: Perform benchmark test
  • Managing Cached Content
    • Identifying the content location on disk
    • Cache Purge
    • LAB: Purge the cache with proxy_cache_purge
    • Cache Loader and Manager
    • LAB/Demo: load previous instrumentation of cache data, load cache from disk incrementally
    • Dynamic Caching
  • Cache Tuning
    • Managing cached content
    • Cache bypass, no_cache
    • Managing stale content
    • use_stale
    • SwR/SiE
    • Proxy_cache_valid - configure caching independent of origin server instructions
    • LAB: Cache bypass, no_cache, proxy_cache_valid
  • Cache Scaling
    • Microcaching
    • LAB: Microcaching to speed up performance, perform test
    • Scaling across multiple disks
    • Mounting to tmpfs
    • Async IO, thread_pool
    • LAB: Async IO
    • Cache slice (byte-range caching)
    • LAB: Byte range caching
    • Clustering the cache for scalability and HA - sharing and sharding
    • LAB: Sharding

Upcoming Classes

Online

Instructor-led online training

Location Oct 2017 Nov 2017 Dec 2017 Jan 2018 Feb 2018
Online Nov 15
Dec 13

Classes in bold are guaranteed to run!

Onsite Training

For groups of three or more

Request Quote

Public Training

Online

  • 9:00 AM - 1:00 PM PST
    $ 375.00 USD
  • 9:00 AM - 1:00 PM PST
    $ 375.00 USD

Don't see a date that works for you?

Request Class