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

Compression of compressible input fields #53

Closed
oganm opened this issue May 28, 2024 · 2 comments
Closed

Compression of compressible input fields #53

oganm opened this issue May 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@oganm
Copy link
Member

oganm commented May 28, 2024

Also related to #78. Gemma API accepts compressed filters as inputs. The package should set a threshold and use compression accordingly

@oganm oganm added the enhancement New feature or request label May 28, 2024
@oganm
Copy link
Member Author

oganm commented Jun 18, 2024

  • The real URL length limit of gemma is currently 8201
  • memCompress returns an incomatible raw output. It doesn't even include the gzip magic number so i am unsure what it is doing. R.utils::gzip works fine but it forces reading-writing from a file which i shouldn't be forced to do

@oganm
Copy link
Member Author

oganm commented Jun 19, 2024

Every endpoint comes with a list of compressible fields. If any call URL is longer than a certain limit (5000 by default) compressible parameters will be attempted to be compressed before sending the request out

@oganm oganm closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant