Performance optimization

Optimizing performance is critical when working with large datasets or high-throughput environments. This section provides tips and best practices for enhancing the performance of UltiHash, ensuring that it can handle demanding workloads efficiently.

Upload and download data in multiple threads

To speed up data upload and download, do it in multiple threads. Below are the examples how it should be done:

# Example: Upload a folder to a bucket on UltiHash
python3 uh_upload.py --url <https://ultihash> --bucket mybucket folder/
# Example: Download a bucket from UltiHash
python3 uh_download.py --url <https://ultihash> --path local-folder mybucket

Last updated