有人会如何编写像 Newrelic 这样的东西,它是低级代码,即内核吗?
你会如何写一些本质上与 newrelic 类似的东西?即监视实时应用程序的东西。
它只是监听通过某些端口的流量并记录它,还是内核级 C/C++ 代码来执行此操作?
寻找所涉及内容的概述,听起来是一个有趣的应用程序编写。
How would you go about writing something similiar in nature to newrelic? i.e. something that monitors a live application.
Is it simply listening to traffic going over certain ports and logging it, or is it kernel level c/c++ code to do this?
Looking for an overview of what's involved, sounds like an interesting application to write.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
New Relic 所做的基础知识相当容易上手。但越深入,事情就越复杂。 New Relic 雇用大量开发人员和 QA 人员是有原因的。
对于 Ruby 和 Rails,您可以阅读包装您的代码的代理的源代码(位于 github 上)。它会让您很好地了解它在做什么。尽管代理相当复杂,但服务器中发生的事情甚至更复杂。
由于我在 New Relic 工作,所以我无法真正深入细节,但如果你环顾四周,你会发现很多技术细节,因为我们过去已经相当公开地讨论过它。
The basics of what New Relic does are fairly easy to get started with. But the deeper you go, the more complicated it gets. There's a reason New Relic employs a lot of developers and QA people.
For Ruby and Rails, you can read the source code of the agent (it's on github) that wraps your code. It will give you a good idea of what it's doing. Although the agent is pretty complex, there is even more complicated stuff going on in the server.
I can't really go into details, since I work at New Relic, but you will find a lot of technical details if you look around, since we've talked about it pretty openly in the past.