Awesome
Lua-Radix-Router use cases
Lua-Radix-Router is a lightweight high-performance router library written in pure Lua.
The use cases of lua-radix-router.
Kong Gateway Plugins
- sensitive-api: A plugin uses lua-radix-router to build a router for request path matching, and perform extra validation for sensitive APIs. The plugin add
X-Debug-Matched-Method
andX-Debug-Matched-Path
headers to upstream when client is requesting the sensitive API.
Enhances the Kong Gateway Router
Kong currently has three routers, traditional_compatible
, expressions
, and traditional
. You can add a new router implementation by using the lua-radix-router. See commit.
The lua-radix-router is ideal for when you have a lot of routes that don't rely on regular expressions. See the Benchmarks.
Game
- skynet_fly: An out-of-the-box microservice framework based on Skynet with graceful hot update.
Contribution
If you would like to share your awesome projects using lua-dix-router here, feel free to create a pull request.