Memcached logo

Memcached

High-performance, distributed memory object caching system
7.7K
5.4K
+ 1
473

What is Memcached?

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Memcached is a tool in the Databases category of a tech stack.
Memcached is an open source tool with 13.1K GitHub stars and 3.2K GitHub forks. Here’s a link to Memcached's open source repository on GitHub

Who uses Memcached?

Companies
1232 companies reportedly use Memcached in their tech stacks, including Facebook, Pinterest, and Shopify.

Developers
6131 developers on StackShare have stated that they use Memcached.

Memcached Integrations

Datadog, Tutum, SignalFx, VerneMQ, and Cloud 66 are some of the popular tools that integrate with Memcached. Here's a list of all 21 tools that integrate with Memcached.
Pros of Memcached
139
Fast object cache
129
High-performance
91
Stable
65
Mature
33
Distributed caching system
11
Improved response time and throughput
3
Great for caching HTML
2
Putta
Decisions about Memcached

Here are some stack decisions, common use cases and reviews by companies and developers who chose Memcached in their tech stack.

Needs advice
on
MemcachedMemcached
and
VarnishVarnish

Existing configuration is like we have 100 local expensive Docker pod based decryptions (in=encrypted, out-=decrypted).

To reduce the load, 8 Varnish baremetals are used in between the client and the dockers. The varnish is dropping in performance if the connection count to it increases.'

-- the client C code is also integrated with Memcached for other types of data.

What would be my steps to compare Varnish vs Memcache?

  • TTL is 12 hours
  • qps is 500kqps across all varnish
  • connection count to each varnish server is 360000
  • size of data per query is 5k to 14k

thanks all!

See more
Gabriel Pa
Migrated
from
CouchDBCouchDB
to
CouchbaseCouchbase
at

We implemented our first large scale EPR application from naologic.com using CouchDB .

Very fast, replication works great, doesn't consume much RAM, queries are blazing fast but we found a problem: the queries were very hard to write, it took a long time to figure out the API, we had to go and write our own @nodejs library to make it work properly.

It lost most of its support. Since then, we migrated to Couchbase and the learning curve was steep but all worth it. Memcached indexing out of the box, full text search works great.

See more

Blog Posts

Dec 22 2020 at 9:26PM

Pinterest

Amazon EC2C langMemcached+4
10
2610
Jun 6 2019 at 5:11PM

AppSignal

RedisRubyKafka+9
15
1632
GitHubDockerReact+17
40
36103
GitHubPythonNode.js+47
54
72262
JavaScriptGitHubNode.js+26
20
4934
JavaScriptGitHubPython+42
53
21766

Jobs that mention Memcached as a desired skillset

See all jobs

Memcached Alternatives & Comparisons

What are some alternatives to Memcached?
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
Ehcache
Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. It's the most widely-used Java-based cache because it's robust, proven, and full-featured. Ehcache scales from in-process, with one or more nodes, all the way to mixed in-process/out-of-process configurations with terabyte-sized caches.
Varnish
Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.
Hazelcast
With its various distributed data structures, distributed caching capabilities, elastic nature, memcache support, integration with Spring and Hibernate and more importantly with so many happy users, Hazelcast is feature-rich, enterprise-ready and developer-friendly in-memory data grid solution.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
See all alternatives

Memcached's Followers
5446 developers follow Memcached to keep up with related blogs and decisions.