Company
Date Published
Oct. 23, 2024
Author
Rachel Kolavo
Word count
2713
Language
English
Hacker News points
None

Summary

ngrok's Traffic Policy module is a new way to shape and take action on traffic coming to and from endpoints, allowing developers to manipulate traffic conditionally based on its qualities using the Common Expression Language (CEL). The module was designed with simplicity and flexibility in mind, providing a better experience for users by reducing complexity and making it easier to configure modules. Traffic Policy enables conditional expressions, handler chains, and scoping of CEL environments, which allows for more nuanced control over traffic management. It also addresses issues such as SDK updates, deprecation, and developer experience, aiming to provide a better developer experience downstream. The module is now available in general availability, and ngrok plans to continue evolving it with new features and functionality.