4 ms·
Of all of the amazing things I've learned/seen in IT over the years the one that had the greatest "jaw to floor" effect was when I first learned of VMware's Fau
by zamadatix 4y ago
Of all of the amazing things I've learned/seen in IT over the years the one that had the greatest "jaw to floor" effect was when I first learned of VMware's Fault Tolerance feature (shortly after I learned about VMs and live VM migration, which was the previous "jaw to floor" winner). Fault Tolerance allows for a very similar cycle accurate continuation concept but trades off specialized synchronous design and near instant failover for a ~1 second hitch to gain the ability to do this with a non-specialized VM and software stack. For even more fun if you have more than 2 hosts when 1 is lost it'll rebuild a fault tolerant state automatically with another host.
- fleddr 4y agoThat's so cool, I'm only a casual VMWare user and had no idea. With things like this possible, and possible for a long time now, it honestly makes me cringe at how absolutely terrible (slow, inefficient, unreliable, complex, not robust) the typical modern software stack is.
- xwolfi 4y agoIt's not true ! The typical software stack is optimized with need as it arises You wouldnt want to write ultrafast software for your idea to deliver cats back from the vets with a network of teenagers om bicycle. Imagine, years to write your website in C++/ASM to end up failing the first week. What s embarrassing is how much software cost to build in the 80s.
- hangonhn 4y agoI came here to say the same thing: “telefork” is just a much more limited version of VMWare’s VMotion. FT is, IIRC, just an extension of the same technique. You’re basically just continuously monitoring and copying state over to the other host instead of shutting down the original VM after you’re done copying. Essentially ESX is an OS that can already a full on telefork with its “process” being a VM. You can practically get to that state if your VM is made super lightweight. (Source: I used to work at VMWare and one of the implementers of FT was a cycling buddy.)
- nolist_policy 4y agoQEMU can do that too nowadays with COLO (COarsegrained LOckstepping) [1]. It's quite fun to randomly yank a Node, wait for resync and repeat and see how the VM stays alive all the time. :) [1] https://wiki.qemu.org/Features/COLO https://wiki.qemu.org/Features/COLO
- dividuum 4y agoIs there any cloud provider that offers such VMs? Seems incredibly simpler to fail over like that instead of implementing a userland procedure.
- electroly 4y agoYou can run VMware Cloud in AWS to get this, but it's not as useful as it sounds: you can't have the pair of fault tolerant instances across regions or even AZs. You still need another plan for recovering from region or AZ failures, and if you need that, why not just also use that plan for intra-AZ failures instead of shelling out for VMware?
- nolist_policy 4y agoThe COLO effort is driven mainly by Intel China and they are currently deploying it at some Chinese cloud provider AFAIK. Unfortunately, as cool as VMWare FT and QEMU COLO are, you need high-bandwith and low-latency links between the nodes and still they increase latency and reduce performance a lot. And in 99.99% of cases just replicating the disk and restarting the VMs in case of a node failure is good enough.