nayaread
HomeFavouritesTopicsSources
HomeFavouritesTopicsSources
NayaRead links to original engineering blogs. All copyright belongs to the respective authors.
Shopify Engineering·Oct 29, 2020·11 min read49

How to Introduce Composite Primary Keys in Rails - Shopify

One line of code can 5x your Rails application performance. What if you could make a small change to your database design that would unlock massively more efficient data access? At Shopify, we dusted off some old database principles and did exactly that with the primary Rails application.

Read original on shopify.engineering

Score breakdown

  • Technical depth61
  • Practical value45
  • Originality100
  • Writing quality100
  • Source reputation0
  • Recency0
  • External engagement0
  • On-site engagement0

NayaRead shows a summary and links to the original article. The full article is hosted on shopify.engineering.

More like this

Shopify Engineering

We replaced Redis with MySQL for inventory reservations—and it scaled (2026) - Shopify

May 12, 2026·12 min read
Shopify Engineering

Remove Circular Dependencies by Using Dependency Injection and the Repository Pattern in Ruby - Shopify

Mar 19, 2021·9 min read
Shopify Engineering

Upgrading Shopify to Rails 5 - Shopify

Jun 20, 2017·9 min read
Shopify Engineering

Shopify-Made Patterns in Our Rails Apps - Shopify

Jul 13, 2021·10 min read