Performance
Finding out where the time goes: CPU scheduling, thread affinity, compute budgets and slow requests.
- How Solana transaction fees workBase fee plus priority fee: how to calculate the priority fee from the compute unit price and limit, why only contested accounts get expensive, and why rent isn't a fee.
- Measuring and reducing compute units in Solana programsHow the compute budget works, four ways to measure what an instruction costs, and the changes that cut it most: stored bumps, less logging, zero-copy accounts and fewer CPIs.
- Pinning Android threads with raw syscallsHow CoreTaskOptimizer finds Android's critical threads at boot and moves them onto the right CPU cores with sched_setaffinity, SCHED_FIFO and ioprio_set, and the five things I would change now.
- Tracing a slow third-party call with OpenTelemetryFollow one slow request across your service, a customer's network and a vendor API with OpenTelemetry, find the span that holds the time, and hand the customer one specific thing to check.