Hacker News new | ask | show | jobs
by tony_cannistra 1101 days ago
I didn't read very deeply, but I was surprised to see something like a Jupyter notebook mentioned as a use-case. The marketing pitch seems to suggest that these hosted sessions are relatively stateless, so I'd hesitate to trust an interactive Jupyter session with one.

Accidentally closing a browser tab seems like it would end the session and wipe out my whole Jupyter session, variables and all.

1 comments

The use case in that example is for ephemeral notebooks used for demos. It's also good for running notebooks for temporary classroom use.

When backends are spawned, there is a period of time that they remain alive without a connection. By default, it's 5 minutes. So if you accidentally close a tab, but open it back within 5 minutes, the kernel is still there.

Thanks, I can definitely understand the classroom use-case.

I've seen a lot of bad engineering go into solving that problem, this seems like a better way.