Score:0

Cloud File Storage: Does zipping files reduce data transmission speed / costs?

pl flag

If I need to store, say, a 5gb file on a cloud file storage location (e.g., aws s3 bucket), will zipping the file reduce the cost / latency when people download it?

Obviously zipping a file reduces the storage size, but my specific question is:

  • Do webservers compress data automatically before sending to another computer?
  • If so, does zipping a file reduce transmission cost beyond anything the webserver is already doing?
Score:3
br flag

Does zipping files reduce data transmission speed / costs?

Probably yes.

Do webservers compress data automatically before sending to another computer?

Most do yes, but won't achieve anything for pre-compressed downloads.

If so, does zipping a file reduce transmission cost beyond anything the webserver is already doing?

Yes as it means you're storing less in the cloud's storage, also uploads will be quicker, and if you're paying for outgoing transfers then it'll be smaller too.

Matt avatar
pl flag
Got it; thank you for the response! Do you have any intuition as to why web servers don't just zip everything (or some equivalent file compression) before transmitting it by default? My guess would be that the computational cost of the compression algorithm outweigh the cost of data transmission _most of the time_, but I could be off here.
br flag
@matt - they often do, it's a configurable thing for whatever web server engine you're using - there are various thresholds you can set to match your actual workload - it'll all be listed in the manual for whichever engine you choose.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.