lua-radix-router
A lightweight high-performance and radix tree based router for Lua/LuaJIT/OpenResty https://github.com/vm-001/gateways-routing-benchmark (by vm-001)
lua-resty-ipmatcher
High-performance match IP address for Nginx + Lua (by api7)
lua-radix-router | lua-resty-ipmatcher | |
---|---|---|
1 | 1 | |
207 | 119 | |
- | 1.7% | |
8.0 | 1.6 | |
about 1 month ago | 11 months ago | |
Lua | Lua | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lua-radix-router
Posts with mentions or reviews of lua-radix-router.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-10.
-
Introduces an API Router Based on Radix Tree
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
lua-resty-ipmatcher
Posts with mentions or reviews of lua-resty-ipmatcher.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-13.
-
How is Apache APISIX Fast?
Under the hood, APISIX uses the lua-resty-ipmatcher library to implement this functionality. The example below shows how the library is used:
What are some alternatives?
When comparing lua-radix-router and lua-resty-ipmatcher you can also consider the following projects:
lua-resty-inspect - make dynamic and arbitrary breakpoint in your nginx lua code and inspect the info
lua-resty-auto-ssl - On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt.
apisix-benchmark
lua-radix-router-use-cases - Use cases of lua-radix-router
rax - A radix tree implementation in ANSI C