Giter VIP home page Giter VIP logo

Comments (1)

sysulq avatar sysulq commented on July 25, 2024

谢谢。
fluentd的问题很多,尤为严重的是协议设计问题,所以在gofluent里面也做了很多tradeoff,譬如forward给fluentd时,每次发送都重新建立了一个连接,因为当时不支持response,客户端无法确认fluentd是否正确处理该消息。

我当初也仔细研究过fluentd的源码,你提到的tail -f功能,如果我没有记错,它应该是用poll的方式实现的。而我这里用到的tail库,实际上支持poll和inotify两种形式。是的,inotify当时确实存在你说的这个问题,所以我选择了poll方式,不过我现在不确定inotify是否已经fix这个问题。

再者,你提到的gnats应该是个不错的选择。不过如果让我现在来选型的话,我可能更乐意考虑ELK:)

from gofluent.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.