search
Get Started
search
Memcached - Database
zoom_in Click to enlarge

Memcached

description Memcached Overview

Memcached is an open source, distributed in-memory cache system used to accelerate web application performance. It stores frequently accessed data within RAM, minimizing database queries and significantly reducing server load. This tool is particularly beneficial for developers building high-traffic websites and applications requiring rapid data retrieval, especially those utilizing PHP, Python, or Ruby.

help Memcached FAQ

Who created Memcached and for what purpose?

Memcached was created by Brad Fitzpatrick in 2003 to solve performance problems at his photo-sharing website LiveJournal, which was struggling with database load. He open-sourced the software, and it has since been adopted by major platforms including Facebook, Reddit, and Twitter to cache frequently accessed data and reduce database queries.

What is the difference between Memcached and Redis?

Memcached is a simple, distributed key-value cache that stores everything as strings in memory, while Redis supports a wider range of data structures including lists, sets, sorted sets, and hashes. Redis also offers persistence options, pub/sub messaging, and built-in replication, making it a more general-purpose data store, whereas Memcached is focused purely on high-speed caching.

Does Memcached persist data to disk?

No, Memcached stores all data in RAM and does not provide built-in persistence to disk by design. If the Memcached server restarts or crashes, all cached data is lost, which is acceptable for a cache because the data can always be regenerated from the underlying database.

What programming languages can connect to Memcached?

Memcached has client libraries available for virtually every major programming language, including Python, Java, PHP, Ruby, Perl, C#, Go, and Node.js. The server itself communicates using a simple text-based protocol, which has contributed to the rapid development of clients across diverse technology stacks.

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Get updates
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare