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

🚀 Feature: Use Brotli for Functions Tarball #6518

Open
2 tasks done
ItzNotABug opened this issue Oct 6, 2023 · 1 comment
Open
2 tasks done

🚀 Feature: Use Brotli for Functions Tarball #6518

ItzNotABug opened this issue Oct 6, 2023 · 1 comment

Comments

@ItzNotABug
Copy link
Contributor

🔖 Feature description

Adopting Brotli over Gzip can lead to significantly smaller file sizes, which in turn can uplift the upload speed.


Comparison Between Brotli and Gzip:

Compression Method Compressed Size
Brotli 242 Kb
Gzip 598 Kb

Result: A 59.53% of difference in size.

🎤 Pitch

Example:

tar --exclude=code.tar.br -cf - . | brotli > code.tar.br

This would also require changes in -

  1. Open Runtimes
  2. Appwrite CLI SDK
  3. Server SDKs & Backend - Functions#downloadDeployment currently returns a tar.gz if I am not wrong

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Aarav238
Copy link

Aarav238 commented Oct 6, 2023

I would like to work on it @ItzNotABug . Please assign this to me.

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

2 participants