How would you design an automation solution that can handle millions of transactions while meeting cost and latency constraints?