#Memcached
LIGMA stack:

LiveView (Phoenix)
IBM DB2
Go
Memcached
Arch Linux
January 19, 2025 at 10:52 PM
"It turns out, whenever we get an error from memcache, we log it. We do a couple million requests a second to our memcached instances, and so we were attempting to do millions of logs per second."

Yeah, stuff like this makes a successful DDOS out of "users are using the site."
April 18, 2026 at 7:05 AM
so is memcached
March 12, 2025 at 5:03 AM
Memcached vs #Redis Cache: Ultimate Comparison of 2 Most Used In-Memory Data Stores This article provides a detailed comparison of #Memcached vs Redis cache.
What is Memcached?
Memcached is a high-performance, distributed memory caching system ...
Continued 👉 #selfhosted #selfhosting #opensource
Memcached vs Redis Cache: Ultimate Comparison of 2 Most Used In-Memory Data Stores
blog.radwebhosting.com
September 23, 2026 at 11:30 PM
Absolutely. @bradfitz.com is the only social media ceo to invent memcached or equivalent.
October 4, 2025 at 6:59 PM
8%, eh? If I had 8% of money from all memcached users I'd have a shitload of nickles.

Oh well. 🍿
October 6, 2024 at 11:07 PM
I know, right? And memcached!
August 26, 2023 at 1:17 PM
Hell, half the web is still running on memcached under the hood somewhere.
April 20, 2024 at 4:41 PM
📦 tencentcloud/memcached 3.0.1674

TencentCloudApi php sdk memcached

🔗 https://github.com/tencentcloud-sdk-php/memcached
September 24, 2026 at 9:20 PM
How the fuck do I set up memcached
May 17, 2026 at 12:06 AM
Just slayed the API endpoint performance for flipper cloud. Added memcached around the adapter used to deliver gate data.

Should save me $2-3k/month.
July 21, 2025 at 10:27 PM
Anyway, as the person who was explaining to people why they couldn't load their LiveJournal friends page while Brad invented memcached, sad high five of been there done that
January 2, 2024 at 3:18 AM
really something to be said about putting the cleverness in the data model and then using the most boring, well-understood distributed systems primitives: an object store, a relational database, and memcached
August 24, 2026 at 11:33 PM
A high-performance rate limiter for Go, designed for Redis, Memcached.
#golang

github.com/veyselaksin...
March 10, 2025 at 10:54 AM
I wrote an article for @lwndotnet.bsky.social about the major ways that Memcached has evolved since its launch more than 20 years ago: lwn.net/SubscriberLi... #Linux #FOSS
The evolution of Memcached [LWN.net]
lwn.net
February 15, 2025 at 3:32 PM
This write up reads like it was written by AI, or is at least aimed at Dora the Explorer fans.

Also it is pretty weird that each Memcached request needs its own TCP connection. That is asking for performance issues.
April 16, 2026 at 11:58 PM
September 23, 2026 at 4:12 PM
📦 tencentcloud/memcached 3.0.1673

TencentCloudApi php sdk memcached

🔗 https://github.com/tencentcloud-sdk-php/memcached
September 22, 2026 at 10:19 PM
is it unethical to add a honeypot to a server that looks (to bot crawlers) like it's an unsecured memcached server but is actually a logic bomb

asking for a friend
October 5, 2025 at 3:21 PM
The blame doesn't matter, I actually believe very strongly in blameless engineering culture!

Plus, the memcache code was correct and well tuned. It was our handler doing unbounded concurrency that was the problem; it just manifested as a memcached issue since that's the first thing we query
April 10, 2026 at 3:41 PM
Truth. I swear half the reason Redis/Valkey _exist_ was people bouncing off the memcached documentation.
April 20, 2024 at 4:49 PM
Not just memcached! He had the curse of having the genius to solve the thorniest problems out there but the inability to make his solutions usable for people whose brain didn't work exactly like his. So much of the history of Web 2.0 is "we'll start with how LJ solved this but make it usable"
April 20, 2024 at 4:47 PM
Redis vs Memcached: Complete Comparison
## Redis vs Memcached: Complete Comparison In the high-stakes world of modern application development, performance and scalability are paramount. Developers and architects constantly seek robust solutions to reduce database load, accelerate data retrieval, and enhance user experience. Two names frequently emerge at the forefront of in-memory caching and data storage: Redis and Memcached. Both are powerful, open-source tools designed to store data in RAM, offering lightning-fast access times compared to traditional disk-based databases. This comprehensive comparison article, "Redis vs Memcached," aims to dissect these two titans of caching. We will delve into their core functionalities, architectural differences, strengths, weaknesses, and ideal use cases. By the end of this read, you'll have a clearer understanding of which tool best fits your specific application needs. ### Understanding In-Memory Caching: The Need for Speed At its core, in-memory caching involves storing frequently accessed data in a computer's RAM rather than on slower disk-based storage. This dramatically reduces latency, as RAM access speeds are orders of magnitude faster than even the fastest SSDs. For web applications, this translates directly into quicker page loads, more responsive user interfaces, and a significantly improved overall user experience. Beyond speed, caching also plays a critical role in: * **Reducing Database Load:** By serving requests from cache, the primary database is spared from repetitive queries, allowing it to focus on more complex operations and maintaining its stability under heavy traffic. * **Improving Scalability:** Caching layers can be scaled independently, allowing applications to handle a larger number of concurrent users without over-provisioning expensive database resources. * **Enhancing Application Resilience:** In some scenarios, cached data can serve as a fallback if the primary data source becomes temporarily unavailable. Both Redis and Memcached excel at these tasks, but they approach them with different philosophies and feature sets. ### Memcached: The Lean, Mean Caching Machine Memcached, short for "Memory Caching Daemon," is a high-performance, distributed memory object caching system. It was originally developed by Danga Interactive for LiveJournal in 2003 and has since become a cornerstone for many high-traffic websites and applications, including Facebook, Twitter, and Wikipedia. #### Core Functionality and Architecture Memcached is designed for simplicity. It operates as a pure key-value store, meaning you store data (values) associated with unique identifiers (keys). The values are essentially opaque byte arrays; Memcached doesn't interpret their content. Its primary goal is to provide a fast, transient storage layer for small, frequently accessed data. * **Distributed Nature:** Memcached is inherently distributed. Multiple Memcached servers can run independently, and client libraries handle the distribution of keys across these servers, typically using consistent hashing. This allows for horizontal scaling by simply adding more Memcached instances. * **Multi-threaded:** Unlike Redis, Memcached is multi-threaded, allowing it to handle multiple client connections and operations concurrently. * **Slab Allocation:** Memcached uses a unique memory management technique called "slab allocation." Memory is divided into fixed-size "slabs," and items are stored in the smallest slab class that can accommodate them. This reduces memory fragmentation but can lead to internal fragmentation if item sizes vary widely. * **No Persistence:** Data in Memcached is purely in-memory and volatile. If the Memcached server restarts or crashes, all data is lost. It's designed to be a temporary cache, not a primary data store. #### Strengths of Memcached * **Simplicity:** Its API is straightforward, making it easy to integrate into applications for basic caching needs. * **Speed for Basic Caching:** For simple key-value lookups of string data, Memcached is incredibly fast due to its optimized C implementation and multi-threaded architecture. * **Horizontal Scalability:** Scaling out is easy; just add more Memcached servers and configure your client to distribute keys. * **Memory Efficiency (for its use case):** Slab allocation can be very efficient for a uniform distribution of item sizes. #### Weaknesses of Memcached * **Limited Data Types:** Only supports strings (byte arrays). Any complex data structure must be serialized (e.g., JSON, Protocol Buffers) by the client before storage and deserialized upon retrieval. * **No Persistence:** Data loss on server restart is a significant limitation for certain use cases. * **No Built-in Replication or High Availability:** Redundancy and failover must be handled at the application level or by external tools. * **No Advanced Features:** Lacks features like Pub/Sub, transactions, Lua scripting, or complex data manipulation. #### Ideal Use Cases for Memcached * Session caching for web applications. * Caching database query results. *
dev.to
September 21, 2026 at 1:43 AM