Skip to main content

Blog

Latest Articles

Engineering

Deep EVM #29: Semaphores in Async Rust — Deadlock Hunting and Fire-and-Forget Patterns

A deep dive into tokio::sync::Semaphore for backpressure control, fire-and-forget write patterns, deadlock diagnosis with tracing and tokio-console, and production-hardened solutions using RAII permits and acquire timeouts.

Read More
DevOps

Deep EVM #28: High-Throughput Data Pipeline — Batch Inserts, COPY, and Conflict Resolution

Build high-throughput data pipelines with PostgreSQL using COPY protocol, bulk upsert patterns, WAL tuning, connection pooling with PgBouncer, and monitoring.

Read More
DevOps

Deep EVM #27: PostgreSQL Performance at Scale — Indexes, VACUUM, and Query Optimization

Master PostgreSQL performance tuning with partial indexes, covering indexes, BRIN for time-series, autovacuum configuration, and EXPLAIN ANALYZE interpretation.

Read More
DevOps

Deep EVM #26: Sharding vs Partitioning — Architecture for Massive Tables

Compare database sharding and partitioning strategies for horizontal scaling. Covers consistent hashing, cross-shard queries, resharding, and when to choose each approach.

Read More
DevOps

Deep EVM #25: PostgreSQL Table Partitioning — When Your Table Hits 10M+ Rows

A practical guide to PostgreSQL table partitioning for large tables. Covers range, list, and hash partitioning with real examples, migration strategies, and query planning.

Read More
Engineering

Deep EVM #24: Context Propagation in Async Rust — Deadlines, Cancellation, and Tracing

Implement Go-style context propagation in async Rust with deadlines, cancellation tokens, and tracing span propagation across async boundaries.

Read More
Engineering

Deep EVM #23: Performance Debugging — When Database Reads Kill Your Latency

Deep dive into database read amplification problems in Rust systems. Real-world debugging with MDBX/RocksDB, CacheDB patterns, and O(N) vs O(affected) analysis.

Read More
Engineering

Deep EVM #22: Dependency Injection in Rust — ServiceLocator, Arc, and Trait Objects

Implement dependency injection in Rust without frameworks. Covers the composition root pattern, Arc<dyn Trait> vs generics, mock implementations for testing, and the ServiceLocator pattern.

Read More
Engineering

Deep EVM #21: Event-Driven Architecture in Rust — Bus Pattern for Real-Time Systems

Design an event-driven system in Rust using tokio channels with the bus pattern. Covers mpsc, broadcast, and watch channels with backpressure and fan-out strategies.

Read More
Blockchain

Deep EVM #20: CI/CD for Smart Contracts — Testing, Gas Regression, and Safety

Build a production-grade CI/CD pipeline for smart contracts with gas regression tracking, static analysis, automated verification, and deployment safety checks.

Read More
Blockchain

Deep EVM #19: Property-Based Testing for Smart Contracts — Fuzzing with Foundry

Explore property-based testing and fuzzing for smart contracts using Foundry. Covers fuzz inputs, invariant testing, and differential testing of Huff, Yul, and Solidity.

Read More
Blockchain

Deep EVM #18: Debugging EVM Bytecode — Traces, Stack Dumps, and cast run

Master EVM bytecode debugging with cast run for transaction replay, forge debug for step-through analysis, and techniques for reading raw opcode traces.

Read More