-
Notifications
You must be signed in to change notification settings - Fork 183
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
Add gzip to the protocol #88
Comments
Just transport for now. Disk is cheap. |
Recording discussion from IRC:
|
Just throwing zstd in the mix :) |
@emilbayes nice Also looking at: |
Here's a pair of hyperdrive v8 keys that can be used to test: sciencefair-land/sciencefair-elife#1 One is ~3.6k small JSON files, the other is ~3.6k academic papers in JATS xml format with figures in jpg. |
@mafintosh some v8 feeds that have flat dir structure:
|
@mafintosh you said compression is now added to append-tree right? does that make this obsolete? |
To update: this hasn't been added anywhere yet. Bigger priorities like multiwriter =). |
* implement pluggable auth and add multisig test * add test using hypercore extension * correct multisig extension test * add proof-of-work test * support passing opts.sign for backwards compat * pass auth instance to core methods * uint8array friendly tests * add test for custom sign backwards compat * typo in test * use b4a instead of Buffer * missing require in test * add instance example to test * use b4a.alloc in test Co-authored-by: Kasper Isager Dalsgarð <[email protected]> * ensure writable is a boolean Co-authored-by: Kasper Isager Dalsgarð <[email protected]>
Still interesting! Join the discord if y'all wanna discuss further. |
@mafintosh and I were looking at why some hyperdrive feeds were taking a long time to sync metadata, and found that there's a lot of redundancy in the metadata. @mafintosh gzipped it and reduced ~6MB to a few hundred KB. The conclusion was that, whatever other optimisations might be added to the indexing etc., a simple optimisation that will help in almost all cases is to gzip everything.
@mafintosh - are we talking about gzipping on the fly during transport, or gzipping the metadata on disk?
The text was updated successfully, but these errors were encountered: