Questions tagged [memcached]

Memcached is a simple distributed object cache that caches information in memory, and can be used to improve the performance of dynamic web applications by reducing access time and database load.

Memcached is open source easily deployable in-memory distributed cache, cross application and cross Platform Engine meaning the same server(s) can be accessed from a variety of languages - PHP, Java, and .NET and from Windows, Linux, etc. Memcached is currently distributed under a BSD-style open source license.

5184 questions
2
votes
3 answers

Storing MySQL writes in Memory

This is a bit of an oddball question. I'm aware of using memcached to cache "read heavy" data in memory, but is it possible todo the same for writes? For example: You have a chunk of data in memory (in memcached) and if you have to make any changes…
Rushi
  • 1,652
  • 3
  • 17
  • 24
2
votes
1 answer

JBoss 7.1.1 + ElasticCache?

I am deploying my Java EE application (JBoss 7.1.1) on AWS, what I am missing now is cache... I can't seem to find any documentation on how to replace or duplicate Infinispan cache with Memcached or Redis non-programatically (I can't change anything…
imTachu
  • 3,759
  • 4
  • 29
  • 56
2
votes
2 answers

Rails memcached: Where to begin?

I read a few tutorials on getting memcached set up with Rails (2.3.5), and I'm a bit lost. Here's what I need to cache: I have user-specific settings that are stored in the db. The settings are queried in the ApplicationController meaning that a…
user94154
  • 16,176
  • 20
  • 77
  • 116
2
votes
1 answer

do I need memcache-client

I am on rails 2.3.5 and ruby on 1.8.7. I have a single application using a local memcached (latest version from apt-get memcached) instance. It seems memcached is working as expected but going through the docs and other comments, 1 - It seems…
badnaam
  • 1,876
  • 4
  • 29
  • 53
2
votes
1 answer

PHP Memcache failed to write session data

I have two servers that I'm installing PHP Memcache for sessions on. One worked without an issue, the other I've been struggling with. The servers have the same php and libs version, same OS (RHEL 6.7), different memory size, different disk space,…
this-Mathieu
  • 121
  • 1
  • 1
  • 8
2
votes
1 answer

Dynamically add new Memcached server without restarting Django

I am planning to use django-cachalot with memcached backend for caching of queries in my project. I have this setup on a Elastic Beanstalk, which can scale up or scale down, by adding or removing EC2 instances. Currently when memcached starts on an…
Optimus
  • 2,716
  • 4
  • 29
  • 49
2
votes
1 answer

PHP APC and Memcache Benchmarking

Is there any simple test I can try to benchmark APC and Memcache, just to get a sense of the performance benefits of using them? I tried some simple stuff using microtime() and looping requests to my database and storing the results, first in cache…
ObiHill
  • 11,448
  • 20
  • 86
  • 135
2
votes
1 answer

Whether memcachedb is embedded?

I read that memcachedb is using berkley db as a storing backend- REF. I read that berkley db is embedded db- REF. But I am not able to find whether memcachedb is embedded. Any reference or suggestions?
Gibbs
  • 21,904
  • 13
  • 74
  • 138
2
votes
1 answer

Zendframework 2 with memcache not working

I am trying to get memcache to work with Zendframework 2. How do I get Zendframework 2 to see memcache correct so I don't get the error I have listed below? I want to use memcache instead of memcached. Error: Exception - An abstract factory…
HotRod
  • 123
  • 2
  • 13
2
votes
1 answer

Can Aerospike be used to store large values?

we have a requirement where we would need to store large values (up to 3MB) in a key value store. While we have memcache setup right now, we would want to experiment with aerospike given its performance benchmarks (although with values within a few…
Rahul Nanwani
  • 1,267
  • 1
  • 10
  • 21
2
votes
0 answers

Memcached issue

I am working on OSX 10.10.5, using AMPPS 3.2, PHP 5.6. I am trying to install memcached to work with PHP but no luck so far. What I have done so far: I have installed downloading the sources Using homebrew (also update it) Using pecl First time I…
2
votes
2 answers

Recommendations for in-memory object cache for .net

I'm wondering what people's experiences are with in-memory cache solutions for .net. We need an (ideally free) out-of-process caching solution that we can share between a number of different web sites (different app pools), and also some console…
Matt Roberts
  • 26,371
  • 31
  • 103
  • 180
2
votes
1 answer

How can I increase my memcache hit ratio?

For my appengine app my memcache hit ratio is only 40 % and I use it extensively. Can I use appstats to profile my app to see why I don't get better hit rate? What would be a strategy to increase hit rate? Will hit rate rise when the app is used…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
2
votes
1 answer

Nginx full page cache using Memcached/Elasticache and purging with PHP

I have a PHP application running on the latest Nginx. I would like to cache each full page for a specific URL using memcached and also have the ability to purge/invalidate a specific cached page with a few PHP commands. My research suggests using…
Littlebob
  • 155
  • 4
  • 15
2
votes
1 answer

django cache not working as expected

I'd like to add simple cache functionality to my site. I have enabled cache for anonymous users, but it does not work as expected. I'm using memcached. settings.py ########################### caching ################################# CACHE_PORT =…
Lucas03
  • 2,267
  • 2
  • 32
  • 60
1 2 3
99
100