Tutorials
Optimize Dokku Deployment Speed for Ruby on Rails with Dockerfile
Dokku lets you setup Rails hosting infrastructure on a simple VPS without much dev ops experience. Although it is easy to get started, a default config might result in very slow and unreliable deployments. In this blog post, I will describe how I'...
Uploading files directly to S3 using Pre-signed POST request
Pre-signed POST request allows for securely uploading large files directly to S3 via a signed expirable url, bypassing the 30 seconds Heroku time limit.It’s easy to create a form in Rails which can upload a file to the backend. The backend, can th...
Background Processing with Rails, Redis and Sidekiq
In any non-trivial web application you will get to a point where certain requests take so long to answer that your application will break if you try to respond with a synchronous HTTP response.In this case you need to offload the work into a backg...