-
-
Notifications
You must be signed in to change notification settings - Fork 33
Description
System Information
Operating System: Linux
Architecture: amd64
CPU: 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz
GOMAXPROCS: 4
teler-waf version: v1.1.7
Compilation
ms/op | Mb/op | allocs/op | threat rules | |
---|---|---|---|---|
teler WAF | 21.2 | 44.7 | 114K | 25828 |
OWASP Coraza WAF v3 | 66.3 | 68.8 | 694K | 6 |
Note
teler WAF result ofBenchmarkInitializeDefault
, run yours withmake bench-initalize
command.
OWASP Coraza WAF v3 result ofBenchmarkCRSCompilation
.
Analyzed requests
μs/op | Mb/op | allocs/op | |
---|---|---|---|
teler WAF | 4.0 | 2.7 | 74 |
OWASP Coraza WAF v3 | 1425.1 | 312.6 | 6938 |
Note
teler WAF result ofBenchmarkAnalyzeDefault
, run yours withmake bench-analyze
command.
OWASP Coraza WAF v3 result ofBenchmarkCRSSimplePOST
.
reqs/s | transfer/s | avg. req time | fastest req | slowest req | |
---|---|---|---|---|---|
teler WAF | 71167 | 7.53MB | 351.285µs | 26.25µs | 6.80ms |
OWASP Coraza WAF v2 | 624 | - | - | - | - |
OWASP Coraza WAF v3 | 892 | - | - | - | - |
ModSecurity | 842 | - | - | - | - |
Note
teler WAF result ofgo-wrk -c 25 -d 10 "http://localhost:3000/path?query=value#fragments" -H "Referrer: https://teler.sh/" -H "User-Agent: X" -body "some=body"
.
OWASP Coraza WAF v2, v3, and ModSecurity results ofSimple URLENCODED Request
according to https://coraza.io/docs/reference/benchmarks/.
Conclusion
In conclusion, the benchmark results clearly indicate that teler WAF outperforms OWASP Coraza WAF v3 in terms of both compilation and request analysis. teler WAF demonstrates significantly lower values in the compilation phase, highlighting its efficiency in preparing and initializing the threat rules.
Moreover, teler WAF excels with remarkable lower values in the analysis of requests compared to OWASP Coraza WAF v3. This indicates that teler WAF is highly efficient at processing incoming requests, offering faster response times and lower memory consumption. Additionally, teler WAF maintains a substantially higher throughput with an impressive request per second rate and it operates at approx. 80x faster than OWASP Coraza WAF v3. This impressive performance can be attributed to teler WAF default behavior of caching all analyzed requests, a crucial feature for applications that demand high-speed traffic handling.
In summary, based on these benchmark results, teler WAF stands out as a high-performance web application firewall solution, providing faster compilation times and superior request handling performance when compared to OWASP Coraza WAF v3. These findings make teler WAF a compelling choice for organizations seeking enhanced security without compromising on speed and resource efficiency in their web applications.