ChainGuardian
ChainGuardian copied to clipboard
Move processes logic to separate worker
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