News for hackers. Stuff that matters.
Re:Show HN: Layer – Get a dozen staging servers per developer by colinchartier on Thursday April 30, 2020 @05:54PM (#23036622)
We spent six months developing a hypervisor that lets us treat any linux VM as a lambda - We pass on the efficiency to our users as a value add.
Re:Show HN: Layer – Get a dozen staging servers per developer by mike_d on Thursday April 30, 2020 @09:33PM (#23038251)
Why are you trying to tackle some small little market of staging servers for the handful of companies that actually care about this?

Take your Hypervisor and sell it to companies that want to efficiently lift-and-shift legacy systems in to the cloud and make your investors super happy.

Re:Show HN: Layer – Get a dozen staging servers per developer by lasdfas on Thursday April 30, 2020 @05:55PM (#23036645)
You should probably be selling that if it works well. That is something I have not seen.
Re:Show HN: Layer – Get a dozen staging servers per developer by deadbunny on Thursday April 30, 2020 @06:04PM (#23036739)
<mostly sarcastic>

Bakevm with tooling > create userdata script for cloud init to copy payload to server > create systemd oneshot service to run payload && shutdown

Re:Show HN: Layer – Get a dozen staging servers per developer by colinchartier on Thursday April 30, 2020 @06:08PM (#23036793)
You should try it! Our baking interface looks more like Docker than a traditional VM provision (ala Packer)

Also, we keep the baked images around for a week and trigger them whenever they are requested (with, say, HTTP, or terminal access)

Re:Show HN: Layer – Get a dozen staging servers per developer by lasdfas on Thursday April 30, 2020 @06:10PM (#23036813)
I may be misunderstanding the product, but it seems to be able to run a webserver on each "server".
Re:Show HN: Layer – Get a dozen staging servers per developer by lykr0n on Thursday April 30, 2020 @06:02PM (#23036722)
More info on that would be cool. Something like Amazon's FireCracker?
Re:Show HN: Layer – Get a dozen staging servers per developer by colinchartier on Thursday April 30, 2020 @06:07PM (#23036776)
Sort of - FireCracker is less suited for testing use-cases because it still cold-boots. We use the same kernel features that let laptops resume when the lid is opened instead, they're less mature for production but much faster for staging and testing.
Re:Show HN: Layer – Get a dozen staging servers per developer by TechBro8615 on Friday May 01, 2020 @10:13AM (#23042145)
Are you using socket activation or something similar? I think there are really interesting use cases around that paradigm for packing services onto one host.

Some blog posts I remember from when I was exploring this idea a few years ago:

http://0pointer.de/blog/projects/socket-activated-containers...

https://www.ctl.io/developers/blog/post/running-drupal-in-li...

Re:Show HN: Layer – Get a dozen staging servers per developer by colinchartier on Saturday May 02, 2020 @08:44PM (#23056030)
Sort of, you can think of it as an entire socket-activated OS.

Our hypervisor does the logic though, we don't rely on the OS of the staging server itself for anything (think PXE)

Re:Show HN: Layer – Get a dozen staging servers per developer by lykr0n on Thursday April 30, 2020 @06:21PM (#23036906)
Ah. VMware does something similar for hot provisioning VMs from a point in time memory snapshot.

So you guys boot the image in the background, then capture a memory dump of it so you can quickly launch VMs from that snapshot? Or you boot the VMs the traditional way the first time, and then just suspend them when not in use?

Re:Show HN: Layer – Get a dozen staging servers per developer by colinchartier on Thursday April 30, 2020 @06:35PM (#23037030)
We do even more, we take snapshots as the "Layerfile" runs - this basically lets you merge the memory dump semantics you mention with the interface of Docker.

Also, we monitor which files are read by any step in the process, and let you skip setup chunks that don't need to run (i.e., installing libraries) without needing to micromanage what files you copy into the staging server.

Re:Show HN: Layer – Get a dozen staging servers per developer by lykr0n on Thursday April 30, 2020 @07:00PM (#23037255)
Man that sounds cool. I don't have any use for something like that, but I would love to see it opensourced to play with it (which I assume you guys won't be doing anytime soon)