feat(v1.8.0): IMPL_005 Parallel Downloads - Performance Optimization

- Add concurrent download support via Kotlin coroutines
- Refactor downloadRemoteNotes() to use async/awaitAll pattern
- Implement configurable parallelism level (default: 3 concurrent downloads)
- Update progress callback for parallel operations tracking
- Add individual download timeout handling
- Graceful sequential fallback on concurrent errors
- Optimize network utilization for faster sync operations
- Preserve conflict detection and state management during parallel downloads

Closes #IMPL_005
This commit is contained in:
inventory69
2026-02-09 11:17:46 +01:00
parent df37d2a47c
commit bdfc0bf060
8 changed files with 534 additions and 71 deletions

View File

@@ -512,4 +512,16 @@
<item quantity="one">%d note synced</item>
<item quantity="other">%d notes synced</item>
</plurals>
<!-- ============================= -->
<!-- PARALLEL DOWNLOADS v1.8.0 -->
<!-- ============================= -->
<string name="sync_parallel_downloads_title">Parallel Downloads</string>
<string name="sync_parallel_downloads_unit">parallel</string>
<string name="sync_parallel_downloads_desc_1">Sequential (slowest, safest)</string>
<string name="sync_parallel_downloads_desc_3">Balanced (3x faster)</string>
<string name="sync_parallel_downloads_desc_5">Recommended (5x faster)</string>
<string name="sync_parallel_downloads_desc_7">Fast (7x faster)</string>
<string name="sync_parallel_downloads_desc_10">Maximum (10x faster, may stress server)</string>
</resources>