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.

5106 questions
1485
votes
17 answers

Memcached vs. Redis?

We're using a Ruby web-app with Redis server for caching. Is there a point to test Memcached instead? What will give us better performance? Any pros or cons between Redis and Memcached? Points to consider: Read/write speed. Memory usage. Disk I/O…
Sagiv Ofek
  • 24,614
  • 6
  • 57
  • 53
325
votes
4 answers

When should I use Memcache instead of Memcached?

It seems that PHP has two memcached libraries named memcache and memcached. What is the difference and how do you know which one to use? Is one outdated? It seems that memcached offers more methods so I would assume that means it has had the most…
Xeoncross
  • 50,836
  • 73
  • 238
  • 351
282
votes
10 answers

NoSQL (MongoDB) vs Lucene (or Solr) as your database

With the NoSQL movement growing based on document-based databases, I've looked at MongoDB lately. I have noticed a striking similarity with how to treat items as "Documents", just like Lucene does (and users of Solr). So, the question: Why would…
eduncan911
  • 16,051
  • 11
  • 61
  • 99
188
votes
6 answers

Is memcached a dinosaur in comparison to Redis?

I have worked quite a bit with memcached the last weeks and just found out about Redis. When I read this part of their readme, I suddenly got a warm, cozy feeling in my stomach: Redis can be used as a memcached on steroids because is as fast as …
Industrial
  • 36,181
  • 63
  • 182
  • 286
163
votes
7 answers

Memcached vs APC which one should I choose?

I read this article: http://www.mysqlperformanceblog.com/2006/09/27/apc-or-memcached/ from way back when.. I want to get the best caching engine available so that my application is really fast. Of course I don't want to over-cache but I want to at…
Thomaschaaf
  • 17,014
  • 31
  • 90
  • 122
151
votes
16 answers

configure: error: C compiler cannot create executables

I've checked a number of similar questions on stackoverflow but haven't found an answer yet. I'm trying to install memcached on Lion OSX as shown here. Here's what I'm getting: j-court-demones-macbook-pro:libevent-1.4.12-stable jcourtdemone$…
CourtDemone
  • 5,202
  • 5
  • 20
  • 24
145
votes
6 answers

get all keys set in memcached

How can I get all the keys set in my memcached instance(s)? I tried googling, but didn't find much except that PHP supports a getAllKeys method, which means it is actually possible to do this somehow. How can I get the same within a telnet…
Anshul Goyal
  • 61,070
  • 31
  • 133
  • 163
140
votes
2 answers

Memcache Vs. Memcached

Possible Duplicate: Using Memcache vs Memcached with PHP Someone can explain me the difference between Memcache and Memcached in PHP environment? What are the advantages of one over the other? Can you also suggest the criteria used to choose…
Luca Bernardi
  • 4,111
  • 2
  • 28
  • 38
114
votes
2 answers

Memcache(d) vs. Varnish for speeding up 3 tier web architecture

I'm trying to speed up my benchmark (3 tier web architecture), and I have some general questions related to Memcache(d) and Varnish. What is the difference? It seems to me that Varnish is behind the web server, caching web pages and doesn't require…
user449219
  • 1,303
  • 2
  • 9
  • 7
105
votes
12 answers

How to stop and restart memcached server?

How to stop and restart memcached server 1.4.5 in linux OS from command line?
smriti
  • 1,079
  • 2
  • 8
  • 5
93
votes
3 answers

Good examples of python-memcache (memcached) being used in Python?

I'm writing a web app using Python and the web.py framework, and I need to use memcached throughout. I've been searching the internet trying to find some good documentation on the python-memcached module, but all I could find was this example on the…
Jonathan Prior
  • 5,324
  • 6
  • 26
  • 26
88
votes
6 answers

Redis and Memcache or just Redis?

I'm using memcached for some caching in my Rails 3 app through the simple Rails.cache interface and now I'd like to do some background job processing with redis and resque. I think they're different enough to warrant using both. On heroku though,…
markquezada
  • 8,138
  • 6
  • 42
  • 50
87
votes
13 answers

Can I get Memcached running on a Windows (x64) 64bit environment?

Does anyone know IF, WHEN or HOW I can get Memcached running on a Windows 64bit environment? I'm setting up a new hosting solution and would much prefer to run a 64bit OS, and since it's an ASP.Net MVC solution with SQL Server DB, the OS is either…
RobertTheGrey
  • 8,475
  • 5
  • 29
  • 45
87
votes
3 answers

Curl command without using cache

Is there a way to tell curl command not to use server's side cache? e.g; I have this curl command: curl -v www.example.com how can I ask curl to send a fresh request to not use the cache? Note: I am looking for an executable command in the…
tokhi
  • 18,588
  • 21
  • 88
  • 102
86
votes
6 answers

cannot find autoconf. please check your autoconf installation Xampp in CentOS

Getting another error when configuring memcahed with php in XAMPP in CentOS # /opt/lampp/bin/phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 Cannot find autoconf.…
lakshmikandan
  • 3,560
  • 2
  • 23
  • 33
1
2 3
99 100