ChainGuardian icon indicating copy to clipboard operation
ChainGuardian copied to clipboard

Move processes logic to separate worker

Open BeroBurny opened this issue 3 years ago • 0 comments

The electron has 2 processes by default main and renderer Now we keep all processes on renderer that start causing UI freezes due to blocking resource usages (loops API calls etc...)

We should move beacon node watcher and validator to own processes to increase application resilience in case of renderer die to the application is not stoping with doing duties, and offload renderer for smoother UX

https://www.electronjs.org/docs/tutorial/performance#how-2 https://www.electronjs.org/docs/tutorial/performance#how-3 https://www.electronjs.org/docs/tutorial/multithreading

BeroBurny avatar Jul 09 '21 11:07 BeroBurny