Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 991 Bytes

File metadata and controls

9 lines (6 loc) · 991 Bytes

Parallel Cloud Downloader

Tests and linter status:

Actions Status Maintainability

Description

This program, written in Python, allows downloading files from cloud storage in three different ways - using multithreading, multiprocessing, and a hybrid approach (asyncio module). I conducted tests on a MacBook i5/16GB while downloading ten files ranging from 500KB to 3MB in size. The results for multithreading were as follows: 1 thread - 20 seconds, 5 threads - 6 seconds, 10 threads - 4 seconds. For multiprocessing, the results were: 5 processes - 5 seconds, 10 processes - 3 seconds. Using the asyncio module, I achieved the best results: 5 tasks - 4 seconds, 10 tasks - 2 seconds.