You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, compute engine has one global state. This works well for basic use cases, but is counter-intuitive if more tabs are open (one tab can overwrite results from other tabs...). Also, compute engine cannot be shared between multiple users.
Proposed solution:
Compute engine manager. When user tries to connect to the compute engine, a separate binary with custom port is started for this user (possibly with cpu and ram restrictions - maybe even docker? But that's probably overkill). This way, an out-of-memory error won't terminate remaining users. Also, anonymous connection can be allowed (again, with possible limits). Similar to the way Chrome creates a separate process for each tab.
This way, each session has a specific port and process it is running on. If there is no ping from the client within x seconds, the process dies (configurable timeout). There can be a kill switch as well in the GUI for stuck computations.
Ideally, when you log in, you can see all your running sessions (as in google docs you see different animals). Maybe as some "admin", you can even see everyone else's sessions. But this might be a bit of an overkill if we assume most of the time you are running locally.
The text was updated successfully, but these errors were encountered:
Currently, compute engine has one global state. This works well for basic use cases, but is counter-intuitive if more tabs are open (one tab can overwrite results from other tabs...). Also, compute engine cannot be shared between multiple users.
Proposed solution:
The text was updated successfully, but these errors were encountered: