Cadence blog

Best practices

Engineering playbooks: CI/CD, code review, monitoring, multi-tenancy, async standups. The how-to layer of running a modern team.

May 7, 2026 · 10 min read
How to handle file uploads in Next.js

To handle file uploads in Next.js 15, send small files (under 4MB) through a Route Handler or Server Action that reads `FormData`, and offload anything larger to a pre-signed URL the browser PUTs dire

May 7, 2026 · 11 min read
How to use OpenTelemetry in 2026

OpenTelemetry in 2026 is the default way to instrument a backend: one SDK, one wire protocol (OTLP), and any vendor on the receiving end. If you start a new service today, you instrument with OTel SDK

May 7, 2026 · 12 min read
How to migrate from Pages to App Router safely

A safe pages to app router migration is incremental, route-by-route, with both routers running in the same Next.js app for weeks (sometimes months). You start with a single low-traffic route in `/app`

May 7, 2026 · 12 min read
How to set up GitHub Actions for a Next.js app

To set up GitHub Actions for a Next.js app, you create a single `.github/workflows/ci.yml` that runs install, typecheck, lint, test, build, and Playwright end-to-end on every push, then deploys previe

May 7, 2026 · 12 min read
How to design role-based access control (RBAC)

To design role-based access control in 2026, model five tables (users, roles, permissions, role_permissions, user_roles), scope every user-role assignment to a tenant, and route every read and write t

May 5, 2026 · 12 min read
How to prepare for a HIPAA audit

Preparing for a HIPAA audit means proving, in writing and in code, that every system touching protected health information has signed BAAs, encrypted storage and transit, MFA on every access path, and

May 5, 2026 · 12 min read
How to design RESTful API endpoints in 2026

Designing a RESTful API endpoint in 2026 means picking a noun, picking an HTTP verb, and picking a status code. The endpoints that age well also handle idempotency, cursor pagination, structured error

May 5, 2026 · 10 min read
How to set up DKIM SPF DMARC for SaaS

To set up DKIM, SPF, and DMARC for a SaaS, you publish three DNS TXT records on your sending domain: an SPF record listing every service allowed to send mail, a DKIM record per provider that holds a p

May 5, 2026 · 12 min read
How to add rate limiting to your API

To add rate limiting to your API, put a token bucket in Redis (or Upstash if you are serverless), key it on the API key (falling back to IP), and return `429 Too Many Requests` with the standard `Rate

May 5, 2026 · 12 min read
How to Prepare for a SOC 2 Audit

SOC 2 audit preparation is a 3 to 9 month project that costs a small startup $40,000 to $90,000 all-in and consumes 200 to 400 engineering hours, mostly spent gathering evidence and closing control ga

May 5, 2026 · 9 min read
How to choose a tech stack for your startup in 2026

Pick the boring stack your future hires already know. In 2026 the AI tooling has flattened most language and framework productivity gaps, so the only stack questions that still earn a real answer are

May 5, 2026 · 10 min read
How to use Server Actions in Next.js 15

Server Actions in Next.js 15 are async functions you mark with `'use server'` and call directly from React components, and they replace most of the boilerplate you used to write for `/api` routes when

May 4, 2026 · 11 min read
Best practices for API design in 2026

API design in 2026 follows one rule: the OpenAPI spec is the contract, and that contract has to serve humans, codegen tools, and AI agents at the same time. Skip the spec-first workflow and you ship e

May 4, 2026 · 9 min read
How to choose between SQL and NoSQL in 2026

Choose SQL by default in 2026. Postgres handles roughly 95% of cases, including the workloads people used to reach for NoSQL: JSON documents, full-text search, geospatial queries, time-series, and vec

Apr 1, 2026 · 9 min read
How our matching algorithm scores 12,800 engineers in 80ms

When a founder books, we score every available engineer in real time and return the top 4. Today the pool is 12,800 engineers. The algorithm runs in ~80ms p99. Here's how.

← All posts