Articles on Ruby
9 months ago
Understand your application's memory usage
Ruby applications should gracefully shut down when a dyno shuts down, or is restarted. Sensitive operations should be wrapped in an `ensure` clause, though care must be taken to have this clause terminate.
11 months ago
Configuring a database connection in Rails using database.yml and DATABASE_URL. 2 years ago
Configure your application to distribute database reads to a follower, using Heroku Postgres and the Octopus Gem
Create a pool of worker processes to better maximize the resources of a worker dyno.
3 years ago
Creating, configuring, deploying and scaling Rails 4.x applications on Heroku, using Bundler dependency management.
Configuring database connections in the Active Record connection pool for apps running with a multi-threaded or multi-process web server.
How to convert an existing Rails project that works on Heroku to run on JRuby.
Quickly deploy static sites on Heroku using Ruby and Rack.
Upload and process image files to S3 in Ruby using the Paperclip library.
Set custom HTTP cache headers on Rails 3 applications to provide the most performant and best possible user experience.
Enqueue background jobs in Ruby with the Redis-backed queuing-library Resque.
4 years ago
Configure a Rails 3.1+, or Rails 4 application to use Rack::Cache to cache public resources in a Rails application with the Dalli client library on Heroku Cedar.
Creating, configuring, deploying and scaling Rails 3.x applications on Heroku, using Bundler dependency management.
Create, configure, deploy and scale a Ruby application on Heroku.
The Cedar stack is the most recent stack on Heroku, providing a PaaS supporting multiple languages, flexible process types, HTTP 1.1 and more.