for Post and Feeds with pictures and txt over 50,000(updated and insert new regularly) which do you prefer? MongoDB or MemCached?
|
Apr '16 |
9 |
1653 |
5 |
for Post and Feeds with pictures and txt over 50,000(updated and insert new regularly) which do you prefer? MongoDB or MemCached?
@Phalcon oh i see, the server's memory is around 500MB only but can be upgraded.... i see Memcached is not a persistent storage... I think MongoDB is the choice for this...
@aavolkoff, our senior developers are ruling out Redis, i don't know why but I used it in my former projects.
Redis is main choice nowadays. Look at this, Instagram use it extensively https://forum.phalcon.io/discussion/489/phalcon-sharding-vs-mysql-cluster#C2039
Yes, behind Redis stands VMWare company ;) Redis support clustering too. I don't know what is problem with study redis it has simple interface and lots of possibility. Redis is faster than MongoDB 3x read, 2x write. Here is your alternatives https://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis
The bottom line is that you have to do your own research and weigh the pros and cons of each system. Memcached is really good because it is distributed but it doesn't have a persistent storage. Memory is cheap to buy on a box really. Redis is equally good and can I think if would suit your needs better.
I will prefer MongoDB. MongoDB offers flexibility and eliminates the use of complex API query. I have mongodb package where we discuss various queries. Visit my mongodb package: https://zappysys.com/blog/ssis-loading-data-into-mongodb-upsert-update-delete-insert/