Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Memcached Tutorial for Beginners

via freeCodeCamp

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the world of Memcached, a high-performance distributed memory caching system, in this comprehensive tutorial. Learn about Memcached's architecture, design choices, and memory management techniques, including the Least Recently Used (LRU) algorithm. Explore threading, connections, and the intricacies of read and write operations, including collision handling and locking mechanisms. Gain hands-on experience by setting up a Memcached Docker container, using Telnet for interaction, and integrating Memcached with NodeJS. Discover the power of distributed caching by working with multiple Memcached servers. By the end of this tutorial, you'll have a solid understanding of Memcached's capabilities and how to implement it in your web applications to alleviate database load and improve performance.

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

freeCodeCamp.org

Reviews

Start your review of Memcached Tutorial for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.