Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the architecture and design of Memcached, an in-memory caching system, in this comprehensive video tutorial. Explore key concepts such as memory management, LRU (Least Recently Used) algorithm, threading, and connections. Learn about read and write operations, collision handling, and locking mechanisms. Discover how Memcached functions as a distributed cache and gain hands-on experience using Docker, Telnet, and NodeJS. Follow along with practical demonstrations, including setting up a Memcached Docker container, interacting via Telnet, and integrating Memcached with NodeJS applications. Conclude with a summary of Memcached's features, design choices, and potential use cases in database load optimization.
Syllabus
Intro
What is Memcached?
Memory management
LRU
Threading and Connections
Read Example
Write Example
Write and Read collisions
Locking
Distributed Cache
Memcached with Docker/Telnet/NodeJS
Spin up a Memcached Docker container and telnet
Memcached and NodeJS
Four Memached Servers with NodeJS
Summary
Taught by
Hussein Nasser