你能从Heroku dynos / workers中获得多少性能? [英] How much performance do you get out a Heroku dynos/workers?

查看:113
本文介绍了你能从Heroku dynos / workers中获得多少性能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1个或2个Dynos站点可以在 www.Heroku.com 上处理多少流量,并且可以增加员工的工作量?任何对dynos / workers的帮助将不胜感激。

解决方案

博客条目可能有用。他对heroku可能遇到的瓶颈类型以及增加的dynos如何提供帮助做了很好的细分,并向 heroku官方性能指南以及一些工具,可以帮助您测试自己的应用程序。

工人的表现真的取决于如何您的网站已建成并且您正在使用它们。后台处理(图片格式化,帐户修剪等)称为延迟工作是您如何放置它们上班



编辑// 2012年3月1日:
这是另一个博客文章,它探讨了可变数量Dynos的heroku延迟和吞吐量性能。

编辑// 2013年2月28日:
有一些担心。这仍然是一个持续存在的问题,在我之前的回答中应该注意。 Heroku的回复在帖子内部链接。



编辑// 2013年5月8日:
最近在Shelly云博客上发表的一篇文章分析了用于应用程序性能的dynos和web服务器数量的影响。在这里使用的基线性能脚本应该对执行进一步的测试有用。


How much traffic can a site with 1 or 2 Dynos handle on www.Heroku.com and would increasing workers improve this? Any help on dynos/workers would be appreciated.

解决方案

This blog entry may be of use. He does a great breakdown of the kind of bottlenecks heroku can run into, and how increasing dynos can help, and provides links and information to the official performance guide on heroku as well as some tools that will help you test your own app.

Worker performance really depends on how your site is built and what you are using them for. Background processing (image formatting, account pruning, etc) called Delayed Jobs is how you put them to work

EDIT // 1 March 2012: Here is another blog entry that explored heroku latency and throughput performance for a variable number Dynos.

EDIT // 28 Feb 2013: There have been some concerns raised in this post regarding Heroku's random routing algorithm and how metrics may be misreported when scaling Dynos, specifically those provided by New Relic. This is still an ongoing issue and is something to note in the context of my previous answer. Heroku's responses are linked within the post.

EDIT // 8 May 2013: A recent post on Shelly Cloud blog analyses impact of number of dynos and web server used on application perfomance. Baseline performance script used there should be useful in performing further tests.

这篇关于你能从Heroku dynos / workers中获得多少性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆