mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-10-09 15:58:34 +00:00
3e89a65b39
* Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Normalize conflict check errors in sync (#164) * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Return errors when sync is attempted while locked (#165) * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Set lastError when parallel uploads all fail (#167) * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Block uploads on conflict check errors (#168) * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Fix lastError on upload failures (#170) * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> * Normalize conflict check errors in parallel sync (#171) * Optimize syncAllProviders to run concurrently and encrypt once Refactored CloudSyncManager to support concurrent cloud provider synchronization. Previously, synchronization was sequential: check -> encrypt -> upload for each provider. Now, it performs: 1. Parallel checks for conflicts/remote versions. 2. Single encryption of the payload (saving CPU/time). 3. Parallel uploads to all valid providers. Helper methods `checkProviderConflict` and `uploadToProvider` were introduced to share logic between `syncToProvider` and `syncAllProviders`. This results in a ~3x performance improvement in benchmarks (from ~1650ms to ~550ms for 3 providers). Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>