NLnetLabs / routinator

An RPKI Validator and RTR server written in Rust
https://nlnetlabs.nl/projects/routing/routinator/
BSD 3-Clause "New" or "Revised" License
470 stars 71 forks source link

Support gzip/deflate/etc compression with a memory limit #906

Open ties opened 1 year ago

ties commented 1 year ago

As RPKI repository operator we noticed that a significant amount of traffic can be saved by using compression. However, due to the issues reported earlier (gzip bomb), compression was disabled by RPs.

By now there are multiple RPs (rpki-prover, rpki-client) that have implemented compression in either a separate process or a memory limited buffer. That way the total memory usage can not cause issues, while it speeds up retrieval and reduces the data volume for repositories.

I think this would be a good addition for routinator as well.

partim commented 1 year ago

Rethinking RRDP fetching is part of the plan for 0.14, anyway, so this is good timing. I’ve added it to the milestone and we’ll consider it as one of the requirements for the rethink.

ttauber commented 1 month ago

It's been a year or so since this issue was submitted. Any thoughts to add this to an upcoming release?