Blogs
Migrate from MySQL to PostgreSQL (Rails) | Stefan's Blog
Almost all of our other projects are using PostgreSQL, so having a different SQL dialect in the mix is a bit annoying and confusing when diving into specific vendor-specific SQL features.Transactional DDL, meaning even the migrations are running i...
Supercharge Your Rails App: Inserting 1 Million Records in 15s - DEV Community
In a world where database performance and efficiency are critical factors in application development, the swift import of a large number of records has become a necessity.In a previous article, we extensively examined various methods for effective...
The future of full-stack Rails: Turbo Morph Drive
Learn why and how to use DOM morphing with Hotwire Turbo to improve the UX of your full-stack Rails applicationsThe “getting-back-into-full-stack” trend in web development communities is gaining more traction. Frontend frameworks are trying to emb...
37signals Dev — Exploring server-side diffing in Turbo
We did a lot of exploratory work before coming up with the Turbo improvement we presented in Rails World. One of those experiments included diffing in the server instead of in the client.The ideaThe inspiration for this idea came, again, from Phoe...
Tanakai is a modern web scraping framework written in Ruby. A fork of Kimurai.
Tanakai intends to be a maintained fork of Kimurai, a modern web scraping framework written in Ruby which works out of the box with Apparition, Cuprite, Headless Chromium/Firefox and PhantomJS, or simple HTTP requests and allows you to scrape and ...
Performance impact of the memoization idiom on modern Ruby | Rails at Scale
Ruby 3.2 saw the introduction of object shapes which speedup instance variables access in most cases, but can be slower in some pathological casesOne major internal change in Ruby 3.2 was the introduction of object shapes.In this post, we’ll try t...
Effects of Pitchfork reforking on Shopify's Monolith | Rails at Scale
Over the last year, I've been working on a new Ruby application server called Pitchfork. In most regards it’s extremely similar to the venerable Unicorn, from which it originates, but with one major extra feature: Reforking, which reduce memory us...