Performance Optimization.
All posts.
UNABLE_TO_LOCK_ROW: The Error That Is Really About Your Data
Row lock errors surface in code but are usually caused by data shape. Why retrying makes it worse, and how skew turns a working job into a failing one.
System.LimitException: Too many SOQL queries: 101
The limit is per transaction, not per class, so bulkified code still fails when it is fifth in a trigger chain. How to find the real cause and fix it.
Salesforce Platform Event Delivery Limits: How to Measure, Attribute and Cut Usage
Deliveries are counted per subscriber, so cost grows with consumers rather than event volume. How to measure usage, attribute it per client, and reduce it.
Large Data Volumes: When a Query Stops Being Selective
Selectivity is a threshold, not a property. A query written when an object held 50,000 records fails at two million, with the same filter and no code change.
CPU Timeout Resolution: Advanced Debugging and Architecture Patterns for Salesforce Apex
Master advanced techniques for diagnosing, preventing, and recovering from CPU timeout errors in production Salesforce environments with architectural patterns that scale.
How We Reduced Platform Event Delivery Costs by 60% (And You Can Too)
A deep dive into the hidden costs of Salesforce Platform Events and the surprising optimization that saved us 50,000+ delivery allocations per day