Closed (fixed)
Project:
Memcache API and Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2008 at 18:35 UTC
Updated:
10 May 2010 at 22:20 UTC
Hello,
I read somewhere that memcached is for huge sites with different database servers.
Would you recommend installing it on a VPS for example? Are there any benefits?
Also as I understand memcached stores stuff in memory, so is it a memory hug?
How much memory would it use from a 256 MB VPS?
Cheers,
G
Comments
Comment #1
jeremy commentedYes, moving the cache from the database to memory is a big performance win if you have the memory. However, if this means that your database starts swapping because it doesn't have enough memory, then it will no longer be a performance win. No, memcache is not a memory hog, and you can configure how much memory you allocate for it -- you then should monitor the statistics to confirm that it has a high hit rate otherwise you'll see considerably less benefit from it. It is a good match for a VPS (which typically have slow Disk IO), so long as you have sufficient RAM.