are there any caveats using mongodb for an activity feed vs cassandra?

122 views
Skip to first unread message

robj

unread,
Apr 15, 2014, 4:20:12 AM4/15/14
to mongod...@googlegroups.com
My main app is MongoDB, but it seems much more common for people to use Redis/Cassandra for activity feed data.

ie.


I understand Redis is a good option until you run out of memory, is MongoDB a comparable alternative to Cassandra form the perspective of this article?



Thanks,
Rob


s.molinari

unread,
Apr 15, 2014, 10:29:24 AM4/15/14
to mongod...@googlegroups.com
I'd say, with my limited knowledge, Mongo can handle activity feeds. However, if you look around at bench mark comparisons, Cassandra seems to be the more performant data store.

Scott

Asya Kamsky

unread,
Apr 20, 2014, 3:02:06 PM4/20/14
to mongodb-user
I would probably say that it's hard to make  that general characterization because it's hard to answer without knowing exactly how the activity feed will be used.

There are two basic naive approaches (fanout-on-read and fanout-on-write are explained in one of the linked articles, but in reality most applications will use some hybrid of both).  

Depending on what exactly the requirements are for the system, it's possible that one datastore would be "faster" than the other, but it's hard to generalize without knowing more.  

Asya



On Tue, Apr 15, 2014 at 10:29 AM, s.molinari <scottam...@googlemail.com> wrote:
I'd say, with my limited knowledge, Mongo can handle activity feeds. However, if you look around at bench mark comparisons, Cassandra seems to be the more performant data store.

Scott

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/b168f72d-41f9-442d-86ec-43ab552b5b60%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages