Introduces an awesome API Router based on Radix Tree.

23 views
Skip to first unread message

Yusheng Li

unread,
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: 

https://github.com/vm-001/lua-radix-router

I'm currently adding more and more real-world user cases for the Router.  See https://github.com/vm-001/lua-radix-router-use-cases
Reply all
Reply to author
Forward
0 new messages