Blog personnel de Jérémy Lecour

Sysadmin et développeur web, facilitateur/leader humain et technique chez Evolix.

Blog Archive Présence Tags RSS

Retry after errors, with exponential backup (in Ruby)

Première publication : 2014-09-03
Tags : rubyapi

There are situations where some errors can occur. Let’s say you connect to a remote service, like a database or an API over HTTP. An error raised by your client is not always permanent. It might be a network glitch or something else.

Lire la suite »

Rsync to just delete files on destination when missing from source

Première publication : 2014-08-21
Tags : rsynclinuxmacos

I have this situation where I have a huge number of images (about 50 millions, with 3-4 versions of each one), organized in a nested tree of directories, like images/103/045/475/example-{format}.jpg.

Lire la suite »

How to use a different ActiveRecord connection pool between Unicorn and Sidekiq?

Première publication : 2014-06-02
Tags : rubyrailssidekiqunicorn

I work on a Rails (4.1) application, sitting behind Unicorn and backed by a couple of Sidekiq processes.

Lire la suite »

Monit, Unicorn and UTF-8

Première publication : 2014-05-14
Tags : linuxmonitrubyunicornunicode

I’ve spent an entire afternoon trying to debug an issue we’ve been having with one of our Rails apps.

Lire la suite »

How to rebuild native Ruby gems after a lib/system upgrade?

Première publication : 2014-03-14
Tags : rubyrubygems
How to rebuild a Ruby gem with a native extension, after a library or system upgrade?
Lire la suite »
« Page précédente Page suivante »

Jérémy Lecour – CC-BY-SA 4.0