Skip to content
rusthacks.dev
Topic

DevOps

From cargo build to production: CI pipelines, slim Docker images, Linux services and what to watch afterwards.

Flat illustration for the post “Observability Architecture for Rust Services Explained”, composed around deploy.
Architecture

Observability Architecture for Rust Services Explained

Logs, metrics and traces answer different questions. Wire them together with tracing and OpenTelemetry in a Rust service: one instrumentation API, a collector, context propagation across services and sensible sampling.

5 min read
Flat illustration for the post “Incident Response for Rust Services a Short Runbook”, composed around deploy.
DevOps

Incident Response for Rust Services a Short Runbook

A one-page runbook for when a Rust service misbehaves: stabilize first, check recent changes, read the four golden signals, find the failing dependency, and use the Rust-specific evidence: panics, memory, executor stalls.

4 min read
Flat illustration for the post “Rust Error Too Many Open Files and Raising the Limit”, composed around deploy.
Tooling

Rust Error Too Many Open Files and Raising the Limit

Os error 24 means the process hit its file descriptor limit. Check the limit and the live count, find the leak or the missing bound, raise the limit in systemd, Docker or code, and cap concurrency so it stays low.

4 min read
Flat illustration for the post “Zero Downtime Database Migrations With Rust Services”, composed around deploy.
Databases

Zero Downtime Database Migrations With Rust Services

Change a live schema without an outage: expand, migrate, contract. Add columns safely, backfill in batches, create indexes concurrently, and order deploys so old and new code both work against the database.

4 min read
Flat illustration for the post “Testing Database Code in Rust With Test Containers”, composed around deploy.
Databases

Testing Database Code in Rust With Test Containers

Run tests against a real PostgreSQL in a disposable container with the testcontainers crate. Start one per test run, migrate, isolate tests with transactions or databases, and keep CI fast with reuse.

4 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.