Tag: backend
All the articles with the tag "backend".
ACID in Databases: What PostgreSQL Guarantees and What It Doesn't
Published: at 08:00 AM (6 min read)PostgreSQL is fully ACID-compliant — but ACID is a shared responsibility, not a free guarantee. Here's what the database enforces on its own, what you have to ask for, and where the traps are in Rails.
Private vs Protected in Ruby: Who's Allowed to Be the Receiver?
Published: at 08:00 AM (3 min read)Ruby's private and protected keywords look like two flavors of the same idea, but the real distinction lives in one rule: who is allowed to be the receiver. Here's what that means, why it matters, and when to reach for each.
Composite Indexes in PostgreSQL: The Small Change With a Big Impact
Published: at 08:00 AM (7 min read)Most developers add indexes and move on. But a single misunderstood rule about composite indexes leads to redundant indexes that silently cost you at write time, at query time, and at scale. Here's how to get them right — and how to add them safely in production.