Introduces an awesome API Router based on Radix Tree.

Skip to first unread message

Yusheng Li

Jan 11, 2024, 12:32:13 AMJan 11
to openresty
I've written an awesome API Router based on Radix Tree.  It's lightweight, modern, OpenAPI friendly, and extensible(You can add as many custom matchers as needed). The most important thing is it's
the fastest API Router in Lua/LuaJIT.

The router is written in pure Lua and can run in Lua interpreter(>= 5.2). The Router can also run in LuaJIT for the best performance since the util functions will switch to the JIT version if possible.

For those interested:

I'm currently adding more and more real-world user cases for the Router.  See
Reply all
Reply to author
0 new messages