Skip to content

Tag: performance

All the articles with the tag "performance".

Postgres Autovacuum Tuning for Small DBs

Postgres Autovacuum Tuning for Small DBs

Leave most autovacuum globals alone, raise the cost limit, and give your one hot table a per-table scale_factor. Tested on postgres:18.6 with real numbers.

My 125B Local Run Ran Out of Weekend

My 125B Local Run Ran Out of Weekend

A 125B MoE ran an agent job locally for 72 hours and made real progress. A free 120B cloud route finished the same job in 7. Here is where the time went.

Monolith vs Microservices, Measured

Monolith vs Microservices, Measured

One Go shop app as a monolith and as gRPC microservices on the same pinned CPU cores. The monolith won every throughput test, and Postgres capped some loads.

Context Window Math: Paying to Remember

Context Window Math: Paying to Remember

Every chat turn re-sends the whole history. See the token math, what prompt caching saves on the API, and what a long context costs in VRAM when you run local.

Database Connection Storms, Explained

Database Connection Storms, Explained

Why apps fall over under load: pool size times replicas versus Postgres max_connections, restart herds, retry storms, timeouts, and the configs that fix them.

zstd vs lz4 vs gzip vs xz: Measured

zstd vs lz4 vs gzip vs xz: Measured

zstd -3 compresses 4 to 6x faster than gzip -6 with smaller files. At the top end, xz -6 beat zstd -19 on speed. 19 configs, 4 public data sets, measured.

ZFS Tuning for SSDs and NVMe

ZFS Tuning for SSDs and NVMe

· Updated:

ZFS tuning for flash: ARC sizing, recordsize, autotrim, sync modes, and SLOG advice, plus why defaults written for spinning disks waste an NVMe pool.

Multi-Arch Docker Builds With QEMU & buildx

Multi-Arch Docker Builds With QEMU & buildx

· Updated:

Build Docker images that run on amd64 and arm64 from one command. QEMU emulation, native multi-node builders, CI caching, and manifest lists explained.