Dogfooding Cloudflare Workers
The WWW team at Cloudflare is responsible for REST APIs, account management services, and the dashboard experience. They recently used Cloudflare Workers to detect end user request data at the edge and react to it in API responses and visually in the dashboard. Since being deployed, their worker has served over 400 million requests for both calls to api.cloudflare.com and the www.cloudflare.com dashboard. The team shared annotated source code of their worker, best practices, and tips and tricks discovered along the way. They also discussed asynchrony, logging and alerts via Sentry, failing open or closed behavior for workers, and using PagerDuty and Hipchat alerts.
Company
Cloudflare
Date published
May 4, 2018
Author(s)
Zack Proser
Word count
1685
Language
English
Hacker News points
None found.