Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance drop with larger request body #1176

Open
dvershinin opened this issue Oct 21, 2024 · 2 comments
Open

Performance drop with larger request body #1176

dvershinin opened this issue Oct 21, 2024 · 2 comments

Comments

@dvershinin
Copy link

We are evaluating Coraza WAF and have observed significant performance degradation when processing larger request bodies. Specifically, starting from a request body size of around 200 bytes, Coraza’s throughput decreases by 2 to 3 times compared to ModSecurity using the same OWASP Core Rule Set (CRS) v4.

Screenshot 2024-10-21 at 23 32 47

Is this a known issue with Coraza’s handling of larger request bodies?

@fzipi
Copy link
Member

fzipi commented Oct 21, 2024

200bytes only? That sound awful. Do you have benchmarks that can be shared?

CC: @jptosso

@jptosso
Copy link
Member

jptosso commented Oct 21, 2024

Also, what is the connector?
If this is custom code, any chance you could share a pprof profile?

https://jvns.ca/blog/2017/09/24/profiling-go-with-pprof/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants