TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Learnings from using Puma in production on Heroku

55 pointsby oBeLxover 11 years ago

3 comments

kbdover 11 years ago
FTA:<p>&gt; We are still using MRI 2.0.0-p195 on Heroku and haven’t switched to either JRuby or Rubinius. Although there is a lot performance we could gain from this switch we are happy with the performance we have and it would make our development more complicated.<p>From the Rubinius 2.0 release post[1]:<p>&gt; Evan created Puma to meet the need for a fast web server that would promote the Rubinius parallel thread support. Puma also works well on MRI and JRuby. It provides Ruby applications excellent performance and multi-core scaling, especially when there&#x27;s no global interpreter lock.<p>I&#x27;m very interested to see how much performance they would gain by switching to Rubinius, and why they say it would complicate their development.<p>[1] <a href="http://rubini.us/2013/10/04/rubinius-2-0-released/" rel="nofollow">http:&#x2F;&#x2F;rubini.us&#x2F;2013&#x2F;10&#x2F;04&#x2F;rubinius-2-0-released&#x2F;</a>
评论 #6568205 未加载
评论 #6568161 未加载
jasdeepsinghover 11 years ago
Shameless plug: I&#x27;ve been moving over my own apps to Puma lately and definitely noticed improvements in performance without switching VM (we&#x27;ve used MRI so far). Lately, even did a small blog post on the topic:<p><a href="http://jasdeep.ca/2013/07/deploying-rails-apps-with-puma-and-nginx/" rel="nofollow">http:&#x2F;&#x2F;jasdeep.ca&#x2F;2013&#x2F;07&#x2F;deploying-rails-apps-with-puma-and...</a><p>This should get you started on non-Heroku platforms with Puma &amp; Rails, well for development &amp; staging purposes. I still have to do a post on setting up Puma for actual production deployments.
tjbiddleover 11 years ago
Puma has been great! I switched to it for both development and production on all of my Rails apps a week or so ago and haven&#x27;t looked back.
评论 #6567875 未加载