Reputation: 33080
Is there a caching system in PhP that's both fast and big?
If I cache in disk the IO goes up.
If I cache in memory, the memory is small.
I need a comprehensive caching system that cache in memory, but when the memory goes big automatically dump large data sequentially to disk.
Any such thing in PhP?
The site store huge number of small items (30k) millions of them. Each data is stored in a file now
Upvotes: 1
Views: 91
Reputation: 12721
Sounds like you want Redis. It's sort of like memcache but with disk based persistance/overflow.
Upvotes: 0
Reputation: 3434
You should try one of these:
APC
XCACHE
EACCELERATOR
MEMCACHE
ZEND OPTIMIZER
These are the best PHP cache solutions available.
Upvotes: 1