Tutorials
jcupitt/ruby-vips: Ruby extension for the libvips image processing library.
This gem provides a Ruby binding for the libvips image processing library.Programs that use ruby-vips don't manipulate images directly, instead they create pipelines of image processing operations building on a source image. When the end of the pi...
Superfast CSV imports using PostgreSQL's COPY command
Dealing with various sources of data in web applications requires us to create services that will extract information from CSV, Excel, and other file types. In that case, it's best to use some existing libraries, or if your backend is on Rails, us...
The Limits of Copy-on-write: How Ruby Allocates Memory
Anyone who’s run Unicorn (or Puma, or Einhorn) may have noticed a curious phenomena. Worker processes that have been forked from a master start with low memory usage, but before too long will bloat to a similar size as their parent. In a big produ...