B-trees and database indexes — PlanetScale
B-trees are used by many modern DBMSs. Learn how they work, how databases use them, and how your choice of primary key can affect index performance.
B-trees are used by many modern DBMSs. Learn how they work, how databases use them, and how your choice of primary key can affect index performance.
Learn why PlanetScale used NanoID to generate obscure and URL friendly identifiers.
LLMs often generate O(n²) solutions when O(n) would suffice. Learn how to prompt for optimal data structures, avoid common performance pitfalls, and g...
How to add a GitHub contribution graph to your Next.js site using GitHub's GraphQL API, with server-side caching.