Coordinated retries and region racing for APIs Gleam/BEAM
ezthrottle.network·10h·
Discuss: Hacker News
🏗️Terraform
Preview
Report Post

What We’re Working On Next

Building the future of resilient API infrastructure

Next

Regional Failover

Shipping in 2 weeks

The Problem:

  • • AWS us-east-1 goes down (happens regularly)
  • • API deployments introduce bugs
  • • Regional outages return 500 errors
  • • Your requests fail, users see errors

Our Solution:

# Automatic regional failover
ezthrottle.call(
"https://api.example.com/...",
failover_regions=["us-east", "us-west", "eu-west"]
)
# Tries us-east first
# 500 error? → Tries us-west automatically
# Still failing? → Tries eu-west
# Succeeds in milliseconds instead of failing

🌍 How It Works:

When APIs return 500 errors, we automatically route your request to healthy regions via Fly.io’s global edge network. Zero downtime. Zero configuration.

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help