Tech A Coding Guide to Understanding How Retries Trigger Failure Cascades in RPC and Event-Driven Architectures