将 New Relic RPM 安装为 gem 与安装为 Heroku 附加组件之间是否存在性能/功能差异?
我在 Heroku 上托管我的 Rails 3 应用程序,并希望添加 New Relic 监控。
我注意到 Heroku 有一个附加组件,我想它会为您设置一切,但我也注意到它不会创建一个“真正的”New Relic 帐户 - 相反,它会创建一个 Heroku 特定的 New Relic 帐户,您可以只能通过 Heroku 访问。
我很好奇的是:有什么区别吗...
功能
主要是,除了为您配置服务之外,Heroku 特定的附加组件是否还提供任何其他 Heroku 特定的功能?在我看来,如果没有,最好使用 gem 以避免任何神秘的 Heroku 猴子补丁?
可配置性
只能通过 Heroku 访问 New Relic 帐户是否有任何缺点(除了占据每个屏幕顶部的烦人的 Heroku 标题框架)?
性能
与自行安装 gem 相比,Heroku 设置是否具有任何性能优势?
成本
看起来像是 dyno 的 Heroku New Relic 附加费用。与直接通过 New Relic 进行的同类计划相比,这总体上是否会更贵或更便宜?如果它更贵,除了简化的配置之外,它是否有任何功能可以证明额外的成本是合理的?
谢谢大家!
I am hosting my Rails 3 application on Heroku and would like to add New Relic monitoring.
I notice that Heroku has an add-on that I suppose sets everything up for you, but I also notice that it doesn't create a "real" New Relic account - instead, it creates a Heroku-specific New Relic account that you can only access through Heroku.
What I am curious about is: are there any differences in ...
Functionality
Mainly, does the Heroku-specific add-on offer any additional Heroku-specific features other than configuring the service for you? It seems to me that, if not, it might be better to use the gem so as to avoid any mysterious Heroku monkey-patching?
Configurability
Does only being able to access the New Relic account via Heroku have any downsides (other than the annoying Heroku header frame taking up the top of every screen)?
Performance
Does the Heroku set-up afford any performance benefits over self-installation of the gem?
Cost
It looks like the Heroku New Relic add-on charges by the dyno. Does this make it more or less expensive overall than a comparable plan directly through New Relic? If it's more expensive, does it have any features that justify the extra cost other than the simplified configuration?
Thanks all!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
功能
据我所知,除了通过 Heroku 进行调整和查看之外,它没有添加任何功能。
可配置性
这是最大的优点。 Heroku 致力于让事情变得更简单,使用该插件,您所要做的就是安装它,然后就可以开始使用了。
性能
Heroku 插件本质上是 Heroku-gems,它们会被引入到某个地方。我们需要研究这个插件是如何制作的;显然,如果插件使用比 ruby 更快的东西,那么它可能会比仅由 ruby 制成的 new-relic gem 更快。
成本
我不认为你在这里遗漏了任何东西。您最终将支付两方费用,因此无论 Heroku 收取什么费用,您的额外成本都是 0.06 美元 dyno。
Functionality
AFAIK it does not add any functionality besides adjusting and viewing through Heroku.
Configurability
This is the biggest upside. Heroku is all about making things easier and with the plugin all you have to do is install it you are ready to go.
Performance
Heroku plugins are essentially heroku-gems that get pulled in somewhere along the line. We would need to research how the plugin was made; obviously if the plugin used something faster than ruby then it would probably be faster than the new-relic gem which is just made of ruby.
Cost
I do not think you are missing anything here. You will end up paying two parties, so whatever Heroku charges that is your extra cost being $0.06 dyno.