Memcached

Memcached

Application and Data / Data Stores / Databases
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!

READ MORE
6 upvotes·30.9K views
Replies (1)
CTO/founder at Meet Kinksters·

You are mixing concerns. Varnish is a caching reverse proxy, and memcached is an in-memory cache for like, unstructured data. If you're pulling from some sort of backend that speaks HTTP, I guess you could consider Varnish something akin to memcached for pull-through, but keep in mind that in both instances your most significant concern will be cache invalidation rather than getting the cache working to begin with. (Famously one of the two "hard problems in CS.")

READ MORE
2 upvotes·6K views
CEO at NaoLogic Inc·

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.

READ MORE
Naologic: Increase revenue through better collaboration between employees, vendors and remote teams (naologic.com)
10 upvotes·564.8K views