Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
New cache via MongoDB
Clément
✭
Hello,
I will create a new cache via MongoDB.
I do not know if I start with: class.memcache.php or class.memcached.php
There are double lines in class.memcached.php => He is better ?
Thank you in advance for your recommendations.
0
Comments
The abstract class you need to extend is
Gdn_Cache
grep is your friend.
I like MongoDB especially as a queue , but also as a database.
However even if you configured it for memory, and used TTL. I really don't see any great advantage of having this cache over memcached. You also don't get the memory management of memcached.
If you were replacing SQL that would be one thing.
grep is your friend.
For now, I have no access to Memcached unfortunately.
I created a cache for phpBB with MongoDB. The difference in performance was really good.
I will study this possibility. For now, the priority is to launch the new forum
http://stackoverflow.com/questions/10317732/why-use-redis-instead-of-mongodb-for-caching
http://blog.adlegant.com/performance-benchmark-mysql-vs-mongodb-vs-memcached/