relocate services and block syncing out of the service worker to the offscreen entry #1573
Labels
discovery
enhancement
performance
Related to speed improvements
refactor
Improving existing system with new design
sync
V2
features required after mainnet
proposal:
The service worker has inherent performance limitations due to its single-threaded and blocking nature. Consequently, note payloads inside blocks are trial decrypted serially. To address this, we propose moving block syncing out of the service worker and into the offscreen client, thereby allowing this CPU bound operation to be parallelized using dedicated web workers. This approach is supported by benchmarks recorded in #1142.
This raises some technical considerations:
The specific components being considered for moving into the offscreen client are:
The text was updated successfully, but these errors were encountered: