Performance Optimization
- Engineering
- Last Updated: March 28, 2024
- Damien Mathieu
Working with our support team, I often see customers having timeout problems. Typically, their applications will start throwing H12 errors.
The decision to timeout requests quickly wasn’t made to avoid having long-running requests on our router, nor to only have fast apps on our platform, but because standard web servers do not handle these types of requests particularly well.
- Engineering
- Last Updated: June 03, 2024
- Richard Schneeman
Performance is important, and if we can’t measure something, we can’t make it fast. Recently, I’ve had my eye on the ActionDispatch::Static middleware in Rails. This middleware gets put at the front of your stack when you set config.serve_static_assets = true in your Rails app. This middleware has to compare every request that comes in to see if it should render a file from the disk or return the request further up the stack. This post is how I was able to benchmark the middleware and give it a crazy speed boost.
- News
- Last Updated: August 05, 2014
- Rand Arete
At Heroku, we’re focused on delivering thoughtfully designed systems to improve developer productivity and experience. We firmly believe that improving the development and operations experience helps developers to build and run better apps. This improvement allows developers to focus more on functionality, and businesses to focus more on the value of their applications.
Today we are pleased to announce two new features, both in public beta, that support this mission: a new Heroku Dashboard and …
- News
- Last Updated: May 30, 2024
- John Simone
Flow is an important part of software development. The ability to achieve flow during daily work makes software development a uniquely enjoyable profession. Interruptions in your code/test loop make this state harder to achieve. Whether you are running unit tests locally, launching a local webserver, or deploying to Heroku there's always some waiting and some interruption. Every second saved helps you stay in your flow.
We’ve been working on reducing the time it takes to …
- News
- Last Updated: February 27, 2013
- Richard Schneeman
With support for Node.js, Java, Scala and other multi-threaded languages, Heroku allows you to take full advantage of concurrent request processing and get more performance out of each dyno. Ruby should be no exception.
If you are running Ruby on Rails with Thin, or another single-threaded server, you may be seeing bottlenecks in your application. These servers only process one request at a time and can cause unnecessary queuing. Instead, you can improve performance by …
- News
- Last Updated: May 14, 2024
- Kenneth Reitz
Here at Heroku, we focus our energy on developer experience and productivity. Historically, this has revolved around command-line tools like the Heroku Toolbelt and the Heroku CLI. As a polyglot platform, we have developers that come from all backgrounds — some that prefer command-line workflows and others that prefer web interface. Most use a bit of both.
Today, we're introducing a new first-class interface to our platform: the Heroku Dashboard.
- News
- Last Updated: May 16, 2024
- Mark Pundsack
A couple months ago, we launched a completely redesigned Heroku status site. Since design is important to us and, we think, to many of you, we're taking a break from our usual blog posts to dig into the Heroku approach to visual product design.
Read on to experience the twists and turns on the way to the final design and let us know in the comments if you want to see more posts like …
- News
- Last Updated: May 23, 2012
- Mark Pundsack
Developers like you deploy code to hundreds of thousands of apps every month on the Heroku platform. Some of these are production apps which serve hundreds of millions or even billions of requests per month. Uptime of the platform is critical for such apps.
We want to achieve the sustained reliability that these apps require. But when there are incidents that impact uptime, we want to maximize our transparency and accountability to you and all …
- News
- Last Updated: July 02, 2009
- Morten Bagai
Railslab is a great site by our friends over at New Relic that contains a wealth of knowledge on Rails scaling and application performance.
A couple of weeks ago they asked Ryan and Adam to stop by for a discussion of the vision behind Heroku, and the philosophy that drives the design and buildout of our scalable, provisionless hosting platform.
The interview is now available for your viewing pleasure in three parts. In the …
Subscribe to the full-text RSS feed for Performance Optimization.