Questions tagged [memcached]

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

390 questions
5
votes
3 answers

Yum install php-pecl-memcached - No package found (Have epel-release-6-8.noarch.rpm)

I believed I've downloaded and updated the EPEL rpm but I can't install php-pecl-memcached.. I'm very new to this, any help is appreciated. #rpm -Uvh epel-release-6-8.noarch.rpm warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature,…
Jeff
  • 53
  • 1
  • 1
  • 3
5
votes
2 answers

error while installing the libmemcached

I get this while installing libmemcached root@server [/libmemcached]# make make all-am make[1]: Entering directory `/libmemcached' if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -ggdb -DBUILDING_HASHKIT …
Utku Dalmaz
  • 1,329
  • 2
  • 13
  • 18
5
votes
1 answer

nginx with Memcache Vs Varnish

I was wondering if anyone has any comments / benchmarks / suggestions on Varnish Vs Memcache when used to serve content (usually 2-5kb JS file depending on the parameters in request; thousands of diff files are possible) Currently we are using nginx…
Sparsh Gupta
  • 1,127
  • 7
  • 21
  • 31
5
votes
2 answers

Are there any drawbacks to running memcached on a Unix domain socket instead of the network (assuming one server)?

I’m setting up a Django website to use memcached to cache its pages. (The content of each page won’t change very often at all, so I’m hoping that most of the site will be served from memcached most of the time, and thus be able to handle a lot of…
Paul D. Waite
  • 156
  • 1
  • 8
5
votes
2 answers

Memcached scaling strategy

Currently I am running a production environment with 4 dedicated memcached servers, each of them having 48Gb of RAM (42 dedicated to memcache). Right now they are doing fine, but traffic and content are growing and will surely be growing next year…
danakim
  • 392
  • 2
  • 9
5
votes
2 answers

Connecting to memcached "which port should use?" (php)

I've installed memcached perfectly and I have created a new instance but i don't understand if I'm connecting to the right port... I always get a false return from get(key) Here is my code: $sql = "SELECT * FROM users"; $key =…
user851171
  • 223
  • 2
  • 3
  • 5
5
votes
1 answer

How is distributed memcached supposed to increase performance if it's making network calls?

http://memcached.org/about Greetings all, I love memcached but have thus far only used it in single machine setups as a local cache. I have read extensively about memcached's distributed nature and how the clients determine which in a list of…
K J
  • 53
  • 4
5
votes
3 answers

Memcached - one big server vs several smaller ones

I am considering whether we should get one big (48 Gb RAM) server or buy 4 smaller (12Gb RAM) servers for running memcached service. In either case I would also have stand-by spares for redundancy, and I will be able to add more servers if needed…
Andrey
  • 354
  • 5
  • 17
5
votes
4 answers

Nginx & PHP caching: fastcgi_cache, proxy_cache, APC or memcached or combo?

We have webservers running nginx 7.65 along with fastcgi PHP5 and are looking into caching possibilities to speed up content delivery and lower system loads. The servers run different (custom) applications. There are so much options for caching I…
Matt
  • 295
  • 2
  • 10
4
votes
2 answers

How to replicate Memcache data among servers

A same question in SO can be found from here . But since I couldn't find any suitable answer, I am asking with additional info. I have many memcache clients but all of them access one memcache server currently. I want to start new couple of memcache…
Débora
  • 157
  • 1
  • 7
4
votes
1 answer

Does a growing number of TIME_WAIT connections affect server performance?

I have 2 servers, both running RHEL 6, one for Apache 2.2 and one for memcached (memcached-1.4.4-3). I noticed an increase in the number of TIME_WAIT connections on the Apache server netstat -n | grep 11211 | awk '{print $6}' | sort | uniq -c …
user161834
  • 331
  • 3
  • 6
  • 8
4
votes
1 answer

Memcache/Elasticache holding many user passwords in memory instead of DB

I have two servers in AWS. One is a live production server (a multi site WordPress installation with hundreds of sites and about 5,000 users) and the other is a clone of prod that is being configured for a test server. The live one has four array…
user144722
  • 41
  • 2
4
votes
1 answer

Memcached cache doesn't flush

I would like to flush the memcached cache keys and values on my centos server. I have tried the telnet approach by telnetting to the port and then issuing: flush_all It doesn't work an my values are still cached. Does anyone know how I can…
petey
  • 572
  • 3
  • 9
  • 20
4
votes
1 answer

How to secure memcached?

In Debian, I have installed memcached (using this guide) to lower the otherwise unmanageable load on mysql database. The database is on a separate server, and memcached and Varnish are on the front server. Is it a potential security hole to leave…
alfish
  • 3,127
  • 15
  • 47
  • 71
4
votes
2 answers

PHP on several servers with session-sharing

there's certanly other threads about this, but I have one more question. We are about to scale the website at work to have more than one server. And we need to share the sessions between the servers. We have been looking into different solutions,…
Etu
  • 51
  • 1
  • 4
1 2
3
25 26