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
The electron has 2 processes by default
mainandrendererNow we keep all processes on
rendererthat start causing UI freezes due to blocking resource usages (loops API calls etc...)We should move
beacon node watcherandvalidatorto own processes to increase application resilience in case ofrendererdie to the application is not stoping with doing duties, and offload renderer for smoother UXhttps://www.electronjs.org/docs/tutorial/performance#how-2
https://www.electronjs.org/docs/tutorial/performance#how-3
https://www.electronjs.org/docs/tutorial/multithreading