Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Log real-time analysis architecture

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

When working in the last company, the design of log collection and real-time analysis framework is relatively simple:

Flume-ng + rocketmq + storm + redis + front-end display

In the message queue part, we started with kafka, but kafka is weak in supporting backtracking consumption and repeated consumption, and is also relatively weak in terms of data security. Later, we changed it to Ali's rocketmq.

Considering that the amount of data we have is not very large, it is enough to support it, but at the rocketmq layer, messages sometimes accumulate because of abnormal network problems, resulting in message queues being flooded, and the stability is not very high. Later, I consulted colleagues from other departments. Their approach is to add an additional layer of mongodb at the message queue level, and the message queue layer only retains the index information of the messages. The entity information of the message is saved in mongodb, which can avoid this problem. Later, due to various reasons, we did not try this method again.

Other common scenarios:

Logstash + elasticsearch + kibana

Fluentd + influxdb + grafana

Flume-ng + kafka + storm

Kafka + spark streaming + redis

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report