News for hackers. Stuff that matters.
Re:Fly Machines: An API for Fast-Booting VMs by mrkurt on Tuesday May 24, 2022 @07:46PM (#31498895)
This is separate from the Nomad stack. When you run `fly launch` you get a Fly App that's orchestrated by Nomad and manages something-like-fly-machines for you. Fly Machines are nearly orchestration free.

Machines are designed to work well for your customer hosting! You can install a machine for them, and then turn it on when they push a button, or have it turn on automatically when they visit a URL.

I'm happy to talk about it more. Feel free to send me/us an email!

Re:Fly Machines: An API for Fast-Booting VMs by ushakov on Tuesday May 24, 2022 @08:07PM (#31499062)
sounds great! the question about Nomad was not related to Fly Machine

btw., i've sent a mail already (mish at ushakov), but only got an automated message

i'm already using free fly.io for wikinewsfeed.org and very happy so far

would be awesome if you could send me a tip how i could use fly.io to deploy instances for my customers?

in my use-case i want to run many instances of Chrome at the same time

running like 100x instances of Chrome on a single machine is too resource-intensive and having a bigger host machine won't do the job, so your only option is to have a dedicated vm for each Chrome instance

Re:Fly Machines: An API for Fast-Booting VMs by perk on Wednesday May 25, 2022 @04:39AM (#31501946)
I need the same thing :) Basically a VM for each CPU-bound process I need to start from a queue. Did you find anything useful?
Re:Fly Machines: An API for Fast-Booting VMs by ushakov on Wednesday May 25, 2022 @02:54PM (#31508919)
yes! a fellow HN user e-mailed me about his project "Spawner"

https://github.com/drifting-in-space/spawner

check out the demo: https://www.youtube.com/watch?v=aGsxxcQRKa4

Re:Fly Machines: An API for Fast-Booting VMs by perk on Wednesday May 25, 2022 @03:38PM (#31509488)
Thanks for sharing!

That looks promising, but I don't want to handle any of this myself :/

I want a service where I can start a new VM fast by posting to an API, have it run some long running JS server code, and the VM should close itself when it's done.

My use case is often CPU bound, so a small VM with a single CPU is just fine.

Re:Fly Machines: An API for Fast-Booting VMs by ushakov on Thursday May 26, 2022 @01:49PM (#31521335)
we had a chat today and that's what his (YC-funded) company does

https://jamsocket.com

they're in private beta

Re:Fly Machines: An API for Fast-Booting VMs by perk on Friday May 27, 2022 @05:40PM (#31535251)
Thanks, it looks exactly like what I'm after. Signed up for the private beta.
Re:Fly Machines: An API for Fast-Booting VMs by ignoramous on Wednesday May 25, 2022 @12:28AM (#31500613)
> Feel free to send me/us an email!

...still waiting for a reply 2 years on ;)