p99 latency spikes on a warehouse Lambda align with many synchronous calls to a chatty inventory API. What remediation should the developer propose?
Select an answer to reveal the explanation.
Short Explanation
A dozen tiny inventory chats per request is death by a thousand round trips. Bundle what you can into fewer calls—or batch—so p99 stops spike-dancing. Logging louder won't shrink the network hops.
Full Explanation
Performance analysis that attributes p99 spikes to chatty synchronous dependency calls should drive app-level remediations such as batching or coalescing requests. Additional DEBUG logs or max sampling without changing the call pattern will not remove round-trip latency. Removing timeouts worsens tail latency and failure modes.