Skip to content

Conversation

@rustchain64
Copy link
Collaborator

  • Log node public key in config.
  • Correct Error Message in fs backend.
  • Refactor file_stream to use explicit FileStream type alias

…efactor file_stream to use explicit FileStream type alias
@rustchain64 rustchain64 marked this pull request as ready for review May 1, 2023 13:48
@rustchain64 rustchain64 requested a review from cryptoquick May 1, 2023 13:49
Copy link
Member

@cryptoquick cryptoquick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much appreciated!

@cryptoquick cryptoquick merged commit 4c0e8ca into HT/stream-post-file May 1, 2023
@cryptoquick cryptoquick deleted the WP/stream_post_file branch May 1, 2023 14:47
cryptoquick added a commit that referenced this pull request May 4, 2023
* Implement HTTP body streaming version of post_file.

* Refactor streaming interface format. Fix tests.

* Reduce number of files created in test by increasing chunk size to 1MB.

* Fix check catalog_exists test. Cleanup unused libraries.

* Log node public key in config. Correct Error Message in fs backend. Refactor file_stream to use explicit FileStream type alias (#35)

* Update carbonado to 0.3.0-rc.7 and secp256k1 to 0.27.0. Fix misnamed variable in tests.

* Add drive_redundancy option to config.

* Update directories crate. Default volume directory is now the Carbonado folder in the home directory. Configurable drive redundancy.

* Fixes in response to review items.

---------

Co-authored-by: Wesley Parr <rustchain64@gmail.com>
cryptoquick added a commit that referenced this pull request May 4, 2023
* Stream `post_file` (#34)

* Implement HTTP body streaming version of post_file.

* Refactor streaming interface format. Fix tests.

* Reduce number of files created in test by increasing chunk size to 1MB.

* Fix check catalog_exists test. Cleanup unused libraries.

* Log node public key in config. Correct Error Message in fs backend. Refactor file_stream to use explicit FileStream type alias (#35)

* Update carbonado to 0.3.0-rc.7 and secp256k1 to 0.27.0. Fix misnamed variable in tests.

* Add drive_redundancy option to config.

* Update directories crate. Default volume directory is now the Carbonado folder in the home directory. Configurable drive redundancy.

* Fixes in response to review items.

---------

Co-authored-by: Wesley Parr <rustchain64@gmail.com>

* Merge main.

* Streaming improvements (#37)

* Update unfold in write method to produce stream chunks of uniform segment size.

* Parallelize write_file. Add config node_shared_secret method and /key endpoint. Improve tests.

* Debugging...

* Fixes.

* Stream read file using axum response StreamBody. Parallelized decoding using par_then.

* Cleanup.

* Cleanup.

---------

Co-authored-by: Wesley Parr <rustchain64@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants