Hasty Briefsbeta

Bilingual

We Deleted Tokio from Our Payment System and Cut Cloud Costs by $127,000

6 months ago
  • #Cloud Costs
  • #Rust
  • #Performance Optimization
  • The author deleted Tokio from their Rust microservice to reduce costs and improve performance.
  • After removing Tokio and switching to blocking I/O, memory usage dropped by 42% and P99 latency improved from 340ms to 180ms.
  • The change resulted in an annual cost saving of over $127,000.
  • The author reflects on the widespread belief that async programming is always better, questioning why they didn't make the change sooner.