Why and how we ‘stringified’ your Traffic Policy rules
When releasing the `Traffic Policy` feature at the beginning of the year, it was noticed that configuring it with the agent or SDKs had a "papercut" due to its highly typed and structured policy configuration requirements. To address this, the design was updated to use strings instead of typed structures for policy configurations, making it easier to configure correctly and reducing maintenance and breakage issues. The new string format allows for more flexibility and consistency in configuring traffic policies, while still supporting older configurations through server-side validation.
Company
Ngrok
Date published
Dec. 12, 2024
Author(s)
Ryan Grant
Word count
1109
Language
English
Hacker News points
None found.