Posted by giorgio79 on November 16, 2008 at 6:35pm
Jump to:
| Project: | Memcache API and Integration |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
Yes, 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.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.