Opinionated conventions for writing reliable, observable async Rust services with Tokio.
Sizes database connection pools for Postgres/MySQL apps from a short JSON of services, pods, workers, threads and pool settings - worst-case connections at autoscale max and during deploy surges vs max_connections, busy connections from rps x hold time, per-process wait odds (Erlang C), CPU and memory limits, PgBouncer client and server limits. Recommends pool sizes or proxy settings. Includes an offline stdlib Python calculator with --self-test.
Reviews PostgreSQL and MySQL schema migrations (raw SQL or ORM-generated) for table locks, rewrites, data loss, and breaking changes, then proposes safe zero-downtime rewrites with a clear verdict.
Plans safe API call budgets across services and environments: maps quotas and burst limits, sizes caches and queues, and spots which jobs will trip 429s before they hit production.
Runs or reads your benchmarks on every pull request, compares them with the main branch, flags real performance regressions instead of noise, and points to the change that caused them.
Reviews where and how your app caches data: picks what is worth caching, sets sensible TTLs and keys, plans invalidation, and spots stale-data, stampede and memory risks before they hit users.
Tracks down memory leaks in servers, workers and web apps: reads memory graphs, guides heap snapshots, compares them to find what keeps growing, and proposes the smallest fix plus a check that it stays fixed.