Why MongoDB is a bad choice for storing our scraped data
blog.scrapinghub.com
Why MongoDB is a bad choice for storing our scraped data
1–10 of 121 posts
Re: Why MongoDB is a bad choice for storing our scraped data
#2Re: Why MongoDB is a bad choice for storing our scraped data
#3""" Ordered data
Some data (e.g. crawl logs) needs to be returned in the order it was written. Retrieving data in order requires sorting which is impractical when the number of records gets large. ""
it requires _indexing_ and is quite feasable as I do it every day with stock ticker logs ( also required to be retrieved incrementially )
There are a few other flags that make me wonder about the exact limitations you found, but I will be anticipating your follow up post to see what your fix was since some of those issues are very common.
Re: Why MongoDB is a bad choice for storing our scraped data
#4I read the whole post waiting to see what they ended up using as we are having similar issues, only to find that it's another post I have to wait for..
Re: Why MongoDB is a bad choice for storing our scraped data
#5I read the whole post waiting to see what they ended up using as we are having similar issues, only to find that it's another post I have to wait for..
Re: Why MongoDB is a bad choice for storing our scraped data
#6I read the whole post waiting to see what they ended up using as we are having similar issues, only to find that it's another post I have to wait for..
Re: Why MongoDB is a bad choice for storing our scraped data
#7I read the whole post waiting to see what they ended up using as we are having similar issues, only to find that it's another post I have to wait for..
I'm not too familiar with Cassandra, but the scalability of an HBase table is almost entirely dependent on your key design. Judging from their use case and requirements, they would likely use a incremental key design which would allow for super fast range scans, of course, this leads to region server hotspotting, which may or not may not be a big deal to them.
Re: Why MongoDB is a bad choice for storing our scraped data
#8you lost me here """ Ordered data Some data (e.g. crawl logs) needs to be returned in the order it was written. Retrieving data in order requires sorting which is impractical when the number of records gets large. "" it requires _indexing_ and is quite feasable as I do it every day with stock ticker logs ( also required to be retrieved incrementially ) There are a few other flags that make me wonder about the exact l…
Re: Why MongoDB is a bad choice for storing our scraped data
#9I read the whole post waiting to see what they ended up using as we are having similar issues, only to find that it's another post I have to wait for..
Re: Why MongoDB is a bad choice for storing our scraped data
#10you lost me here """ Ordered data Some data (e.g. crawl logs) needs to be returned in the order it was written. Retrieving data in order requires sorting which is impractical when the number of records gets large. "" it requires _indexing_ and is quite feasable as I do it every day with stock ticker logs ( also required to be retrieved incrementially ) There are a few other flags that make me wonder about the exact l…
He mentions the lack of joins, but doesn't say a word about Mapreduce.
"MongoDB needs to walk the index from the beginning to the offset..." You don't "walk an index". It's an index.
"Too many databases" sounds a little suspicious. Why not add an indexed field to partition records?
Complaining about a lack of schema, transactions and triggers? Really? Did you read the docs at all before starting?
MongoDB is not without its problems, but friend, I think you wanted either Postgres or Hadoop.