# Memcached

Memcached is a free, open-source, distributed in-memory key-value caching system used to speed dynamic web applications by reducing database load.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How to sleep a million years

DevFeed: [How to sleep a million years](<https://devfeed.tech/articles/how-to-sleep-a-million-years-38926.md>)

Original publisher: [Read original article](<https://idea.popcount.org/2013-07-19-how-to-sleep-a-million-years>)

Author: Marek

Published: 2013-07-18T22:00:00Z

Content type: tutorial

Language: en

Sources: [Marek Majkowski](<https://devfeed.tech/sources/marek-majkowski.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Scripting, bash](<https://devfeed.tech/topics/scripting-bash.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>), [Processes](<https://devfeed.tech/topics/processes.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Memcached](<https://devfeed.tech/topics/memcached.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [caching](<https://devfeed.tech/tags/caching.md>), [code](<https://devfeed.tech/tags/code.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [memcached](<https://devfeed.tech/tags/memcached.md>), [processes](<https://devfeed.tech/tags/processes.md>), [server](<https://devfeed.tech/tags/server.md>), [timeout](<https://devfeed.tech/tags/timeout.md>)

### AI overview

This tutorial demonstrates fluxcapacitor, an environment that changes a program's view of elapsed time. It uses examples including sleeping for very long durations, accelerating sleep sort, and testing Memcached expiration with separate processes.

### Source excerpt

How to sleep million years Let me assure you, the "fluxcapacitor" project is very interesting. Unfortunately, I find it very difficult to describe what it does. For this project I completely fail the elevator pitch. I won't attempt to describe it, instead I'll try present it in action.

## In-memory key-value store in C, Go and Python

DevFeed: [In-memory key-value store in C, Go and Python](<https://devfeed.tech/articles/in-memory-key-value-store-in-c-go-and-python-35419.md>)

Original publisher: [Read original article](<https://darkcoding.net/software/in-memory-key-value-store-in-c-go-and-python/>)

Author: Graham King

Published: 2012-03-13T05:00:08Z

Content type: tutorial

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [C](<https://devfeed.tech/topics/c.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Memcached](<https://devfeed.tech/topics/memcached.md>), [Python](<https://devfeed.tech/topics/python.md>), [networking](<https://devfeed.tech/topics/networking.md>), [POSIX](<https://devfeed.tech/topics/posix.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [epoll](<https://devfeed.tech/tags/epoll.md>), [go](<https://devfeed.tech/tags/go.md>), [memcached](<https://devfeed.tech/tags/memcached.md>), [networking](<https://devfeed.tech/tags/networking.md>), [posix](<https://devfeed.tech/tags/posix.md>), [python](<https://devfeed.tech/tags/python.md>), [software](<https://devfeed.tech/tags/software.md>), [tcp](<https://devfeed.tech/tags/tcp.md>)

### AI overview

The article describes implementing an in-memory key-value store in C, Go, and Python using enough of the memcached protocol to test with a client. It compares the implementations and explains networking details including TCP_NODELAY, Nagle's algorithm, delayed acknowledgments, non-blocking sockets, epoll, and futexes.

### Source excerpt

"Coder's paternity leave turns into polyglot key-value store adventure"

## Memcached: List all keys

DevFeed: [Memcached: List all keys](<https://devfeed.tech/articles/memcached-list-all-keys-35434.md>)

Original publisher: [Read original article](<https://darkcoding.net/software/memcached-list-all-keys/>)

Author: Graham King

Published: 2009-10-20T16:50:30Z

Content type: tutorial

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [Memcached](<https://devfeed.tech/topics/memcached.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [developer](<https://devfeed.tech/tags/developer.md>), [guide](<https://devfeed.tech/tags/guide.md>), [list](<https://devfeed.tech/tags/list.md>), [max](<https://devfeed.tech/tags/max.md>), [memcached](<https://devfeed.tech/tags/memcached.md>), [request](<https://devfeed.tech/tags/request.md>), [server](<https://devfeed.tech/tags/server.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

A development-oriented tutorial explains how to inspect some keys stored in a Memcached instance by connecting to the server, obtaining slab IDs, and requesting limited cache dumps. It notes that Memcached generally cannot list every stored key, though inspecting a subset may be sufficient during development.

### Source excerpt

"Unlocking Memcached's Hidden Treasures: A Developer's Guide"