roadrunner icon indicating copy to clipboard operation
roadrunner copied to clipboard

[💡 FEATURE REQUEST]: Brotli compression support

Open masterjus opened this issue 3 years ago • 5 comments

Plugin

HTTP Middleware (any)

I have an idea!

In addition to gzip, the Brotli compression algorithm is now very common. All modern browsers support it. The main advantage of the algorithm is the high compression rate.

The feature request is to add the brotli support in addition to gzip.

masterjus avatar Oct 20 '22 09:10 masterjus

Hey @masterjus 👋🏻

Yeah, it's common, but this is hard to say about its performance in Go. Originally, brotly is written in C++ and has some bindings to other languages. The pure-Go algo implementation is a translation with c2go tool.

P.S: if you need this ASAP, you may implement this middleware and build RR with Velox.

rustatian avatar Oct 20 '22 09:10 rustatian

It's good to have, not so important for now.

masterjus avatar Oct 20 '22 09:10 masterjus

Any update on this? it would be nice to have also Brotli support.

AlexOstrovsky avatar Mar 17 '23 08:03 AlexOstrovsky

Any update on this?

Nothing atm 😢

rustatian avatar Mar 17 '23 10:03 rustatian