Redian新闻
>
现在感觉到为什么大家说mongo有很多问题了
avatar
现在感觉到为什么大家说mongo有很多问题了# Java - 爪哇娇娃
p*2
1
数据量一大确实很麻烦。不过数据量适当还是很好使的。
avatar
p*2
2
mongo网站上说mongo很适合做logging,有大牛谈谈吗?我怎么感觉很不适合呢。
avatar
P*i
3
很适合啊
你为啥觉得不适合?

【在 p*****2 的大作中提到】
: mongo网站上说mongo很适合做logging,有大牛谈谈吗?我怎么感觉很不适合呢。
avatar
p*2
4

mongo要用内存,数据量大了放不下,performance有问题呀
mongo有global lock,concurrency有问题呀
mongo HA至少需要3台machine,也很昂贵。
感觉写log cassandra,hbase是更好的选择吧?为了log没必要用昂贵的mongo吧?

【在 P****i 的大作中提到】
: 很适合啊
: 你为啥觉得不适合?

avatar
c*e
5
"mongo要用内存,数据量大了放不下"
Log is append-only, not a big issue here regarding memory. It’s true
replica set in Mongo is quite expensive but you cannot really get away if
you want availability.
Efficient logging requires hierarchical design. You can aggregate warning/
errors/metrics to centralized storage while leaving many verbose ones on
node. It's not necessary to put everything on persistent storage and it's
expensive anyway. As long as you can search across nodes or even have global
tracing, debug/diagnostics should be easier.
avatar
p*2
6

global
log 是 append的,但是query 的时候就有问题了吧?mongo aggreate只能支持16M,数
据大了根本没法用,mapreduce也很慢。感觉数据量大了,performance总是有问题。如
果不做dynamic query的话,那不如放其他地方了。
另外跟cassandra, hbase比有什么优势呢?从写log来说。

【在 c****e 的大作中提到】
: "mongo要用内存,数据量大了放不下"
: Log is append-only, not a big issue here regarding memory. It’s true
: replica set in Mongo is quite expensive but you cannot really get away if
: you want availability.
: Efficient logging requires hierarchical design. You can aggregate warning/
: errors/metrics to centralized storage while leaving many verbose ones on
: node. It's not necessary to put everything on persistent storage and it's
: expensive anyway. As long as you can search across nodes or even have global
: tracing, debug/diagnostics should be easier.

avatar
c*e
7
没有太多优势。
Don't use mongodb's JS mapreduce, slow.
https://engineering.groupon.com/2013/big-data/mongodb-mapreduce-with-hadoop/
问题是你在折腾什么啊? Logstash, fluentd现成的为什么不用?

【在 p*****2 的大作中提到】
:
: global
: log 是 append的,但是query 的时候就有问题了吧?mongo aggreate只能支持16M,数
: 据大了根本没法用,mapreduce也很慢。感觉数据量大了,performance总是有问题。如
: 果不做dynamic query的话,那不如放其他地方了。
: 另外跟cassandra, hbase比有什么优势呢?从写log来说。

avatar
p*2
8

hadoop/
大牛。不是我折腾。是我老板觉得mongo特别适合做logging。我现在是想找理由说服
team放弃mongo用Logstash。

【在 c****e 的大作中提到】
: 没有太多优势。
: Don't use mongodb's JS mapreduce, slow.
: https://engineering.groupon.com/2013/big-data/mongodb-mapreduce-with-hadoop/
: 问题是你在折腾什么啊? Logstash, fluentd现成的为什么不用?

avatar
a*w
9
听老板的,除非你想跳槽了。

【在 p*****2 的大作中提到】
:
: hadoop/
: 大牛。不是我折腾。是我老板觉得mongo特别适合做logging。我现在是想找理由说服
: team放弃mongo用Logstash。

avatar
p*2
11

太没个性了。

【在 a*w 的大作中提到】
: 听老板的,除非你想跳槽了。
avatar
p*2
12

我用node

【在 P****i 的大作中提到】
: 都是Ruby?
:
: hadoop/

avatar
t*e
13
Mongo的marketing做的好。

【在 p*****2 的大作中提到】
:
: 我用node

avatar
z*e
14
mongodb的优势是跟db有很大重合
让人一看就觉得很不靠谱
如果是那样的话,我回头去用db好了
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。