https://kotlinlang.org logo
#ktor
Title
# ktor
b

bitkid

02/04/2020, 12:43 PM
how much overhead would you think that chunked gzip encoding creates? factor 3 sounds realistic? that's what i am experiencing at least 🙂
s

spand

02/04/2020, 12:45 PM
Compared to what ?
b

bitkid

02/04/2020, 12:59 PM
compared to writing the response without gzip compression (i am talking about the server side)
so i make a request which returns about 500mb of data (written with the
Copy code
respondTextWriter
function) .. takes about 20 secs end to end .. when i add the header -H "Accept-Encoding: gzip" which adds gzip compression it takes about 60 seconds
5 Views