2 ms·
The Java version looks pretty danged cool paging through the some of the code. I was trying to think of a use case for this and I was reminded of a Sun Microsy
by exabrial 1y ago
The Java version looks pretty danged cool paging through the some of the code.
I was trying to think of a use case for this and I was reminded of a Sun Microsystems demo (yes I'm that old) I saw. The paused a JVM and "slept" it, then kicked up on another machine almost instantly, all over the network. Was a pretty cool party trick, but then they did it when an HTTP request came in (Serverless was invented a LONG time ago!). I kinda wonder if this could be used for that?
- _old_dude_ 1y agoThere is a modern equivalent based on Linux criu. https://github.com/CRaC/ https://github.com/CRaC/
- KraftyOne 1y agoHaha yes, one thing you can use this for is "long waits" or "long sleeps" where a program waits hours or days or weeks for a notification (potentially through server restarts, etc) then wakes up as soon as the notification arrives or a timeout is reached. More info in the docs: https://docs.dbos.dev/java/tutorials/workflow-communication https://docs.dbos.dev/java/tutorials/workflow-communication
- jedberg 1y ago> I was reminded of a Sun Microsystems demo (yes I'm that old) I wonder if my Solaris 7 cert is still good...