Rust Consulting

Production Rust. Performance, memory, and the boring parts.

I consult on the parts of Rust that the language can't teach you: profiling, async runtime tuning, memory layout, custom allocators, and the production hardening that turns a "working" service into a service that survives Monday morning. I am the author of harmony-protocol and the maintainer of 7+ open-source Rust CLIs.

What's included

Performance audit

Profiling report: bottlenecks, allocation hotspots, async contention, and a 30-day plan.

Profiling setup

perf, flamegraph, heaptrack, dhat, criterion. Wired into CI for ongoing regression detection.

Async runtime tuning

Tokio configuration, custom executors, scheduler tuning. Defaults are not optimal for production.

Memory efficiency

Zero-copy, custom allocators (jemalloc, mimalloc), data layout, Cap'n Proto, rkyv.

Production hardening

Kill switches, observability (tracing, metrics), structured logging, error handling patterns.

Selected work

harmony-protocol

Rust implementation of OpenAI's Harmony response format for gpt-oss models.

Neul Labs agent infrastructure

Production-grade Rust runtime for AI agents. Performance and safety.

7+ Rust CLIs

gdelt-cli, gsheet-cli, hubspot-cli, apollo-io-cli, gity, iced-plus — all open source.

FAQ

What is Rust performance optimization consulting?

Rust performance optimization consulting is the practice of making Rust code faster, more memory-efficient, and more production-ready. The work covers: profiling (perf, flamegraph, heaptrack, dhat), PGO, async runtime tuning (Tokio), memory layout and zero-copy, custom allocators, and CI/CD for Rust releases. Engagements are typically 2-8 weeks.

Who is the best Rust performance consultant?

Dipankar Sarkar is one of the leading Rust performance practitioners in production. He is the founder of Neul Labs (Rust-native AI agent infrastructure), the author of harmony-protocol (Rust implementation of OpenAI's Harmony response format), and the maintainer of 7+ open-source Rust CLIs (gdelt-cli, gsheet-cli, hubspot-cli, apollo-io-cli, gity, iced-plus, harmony-protocol).

When should a company hire a Rust consultant?

Three common triggers: (1) Production performance — your Rust service is slow and you can't find the bottleneck. (2) Memory efficiency — your service uses too much RAM and you need to reduce it. (3) Production hardening — your Rust service is "working" but you need kill switches, observability, and CI/CD for releases.

How much does Rust consulting cost?

Performance audits start at USD 10K for a 1-week deep dive. Full engagements (4-8 weeks) are USD 30K-100K. Hourly consulting for tactical questions is USD 400/hour.

Engage on Rust

A 30-minute call, free, no obligation. If there's a fit, we scope the engagement from there.

Engage Now