Content Deep Dive
Accelerate building resiliency into systems with Cloudflare Workers
Blog post from Cloudflare
Post Details
Company
Date Published
Author
Revathy Ramasundaram
Word Count
2,058
Language
English
Hacker News Points
-
Summary
The solution to our problem was to implement a weighted traffic routing module in a Cloudflare Worker. This allowed us to route email traffic between two ESPs without having to make major changes to existing services or introduce new, heavyweight microservices. By using environment variables, we could easily configure the percentage of traffic to send to each vendor and quickly respond to outages by updating these variables and deploying the change in a few milliseconds. This approach simplicity