Skip to content
OY ozgur yildiz
home writing work about
say hi →
/ writing / tags / #Databases

#Databases

9 posts tagged with this topic. ← All tags

  • Jun 8, 2026

    Write-ahead logging: the mechanism behind database durability.

    WAL is how PostgreSQL guarantees that committed transactions survive crashes. Understanding it explains database performance characteristics and replication.

  • Jun 4, 2026

    Database sharding: when vertical scaling isn't enough.

    Sharding partitions data across multiple database instances. Here's how the partitioning strategies work and what operational complexity they introduce.

  • Jun 1, 2026

    Optimistic concurrency: handling conflicts without locking rows.

    Pessimistic locking serializes access to data and creates contention. Optimistic concurrency lets transactions proceed freely and detects conflicts only when they actually occur.

  • May 28, 2026

    Cursor-based pagination: the implementation that doesn't break under load.

    Offset pagination skips rows, which breaks when data changes between pages. Cursor-based pagination uses a stable position marker that stays correct regardless of concurrent writes.

  • Apr 27, 2026

    Drizzle ORM: the type-safe query builder that stays close to SQL.

    Drizzle gives you TypeScript types over your database queries without hiding the SQL. The mental model stays SQL — the ergonomics become TypeScript.

  • Apr 23, 2026

    Prisma vs raw SQL: what you give up and what you gain.

    Prisma trades SQL control for developer ergonomics. Understanding exactly what that trade looks like helps you decide when each approach is appropriate.

  • Dec 22, 2025

    The CAP theorem: what distributed systems can and can't guarantee.

    What the CAP theorem actually says, how real databases position themselves, and what this means when choosing a data store.

  • Dec 4, 2025

    Database replication: read replicas and why they help.

    How PostgreSQL replication works, when read replicas make sense, and how to route reads and writes in your application.

  • May 29, 2025

    Vector search: finding similar content without keyword matching.

    How vector databases work, how to query them efficiently, and when to use them instead of traditional search.

OY ozgur yildiz
GitHub LinkedIn Email RSS
© 2026 ozgur yildiz. all rights reserved.