Is using Python for MapReduce for Cassandra Dumb?

Since Cassandra doesn't have a built-in MapReduce yet (I think it comes in 0.7), is it ok to try MapReduce with my Python client, or should I just use CouchDB or Mongo or something like that?

The application is a collection of statistics, so I need to be able to summarize the values ​​with grouping to increase the counters. I don’t, but pretend to be doing Google analytics, so I want to keep track of which browsers appear, which pages they went to, and visits against pageviews.

I would just atomize my records while recording, but Cassandra is also not very good at counters.

May Kassandra just not suitable for this?

Thanks!

+4
source share
2 answers

Cassandra supports map reduction from version 0.6. (The current stable release is 0.5.1, but go ahead and try a new card to reduce functionality in 0.6.0-beta3). For starters, I recommend taking a look at the example of reducing the number of words in the example contrib / word_count.

+6
source

MongoDB has an in-place update, so MongoDB should be very good with counters. http://blog.mongodb.org/post/171353301/using-mongodb-for-real-time-analytics

+3
source

Source: https://habr.com/ru/post/1305269/


All Articles