Live data from Hacker News

WASM-Native Orchestration

wasmcloud.com

21–30 of 64 posts

Re: WASM-Native Orchestration

#21
Taking a quick look around on their website it seems you can have them host for you or self-host but absolutely requires k8s. If I'm wrong, point me to the doc that shows you how to self-host without k8s and I'll officially be excited.

Re: WASM-Native Orchestration

#22

Question for everyone - I've long wondered if it would be possible to use WASM to create a p2p "cloud" to reduce reliance on datacenters? My thought would be to encrypt all data packets prior to shuffling them into the network, and have some sort of incentive for people to keep their devices running on the network to enhance reliability - probably with a blockchain of sorts that serves as the main "map" of content in…

You can't trust third party compute.

Perhaps we could:

https://en.m.wikipedia.org/wiki/Homomorphic_encryption

Someone far smarter than me could probably tell us if this actually works in the real world?

Re: WASM-Native Orchestration

#23
post #6

Earlier quoted context omitted.

Ok, so wasmCloud is like Kubernetes, but then I don't understand their tagline: "Build, manage, and scale Wasm apps across any cloud, K8s, or edge" or the "Run wasmCloud standalone or on Kubernetes" part. Why would you want to run a orchestrator (wasmCloud) on top of another orchestrator (Kubernetes)? Are they competitors? No, then it wouldn't make sense to run it on Kubernetes, so that makes them complements?

You use k8s to manage the machines where wasmCloud runs, and wasmCloud to manage the WASM apps that run on top of it. That's at least my understanding.

And then you run QEMU-WASM[1] on that so you can run your Docker containers safely inside a Linux VM...

[1]: https://ktock.github.io/qemu-wasm-demo/

Re: WASM-Native Orchestration

#24

Taking a quick look around on their website it seems you can have them host for you or self-host but absolutely requires k8s. If I'm wrong, point me to the doc that shows you how to self-host without k8s and I'll officially be excited.

It doesn’t require k8s — you run their agent binary on multiple hosts and they all get connected. You can deploy the same agent in k8s also if you want.

Re: WASM-Native Orchestration

#25
post #19

Question for everyone - I've long wondered if it would be possible to use WASM to create a p2p "cloud" to reduce reliance on datacenters? My thought would be to encrypt all data packets prior to shuffling them into the network, and have some sort of incentive for people to keep their devices running on the network to enhance reliability - probably with a blockchain of sorts that serves as the main "map" of content in…

yes it's certainly possible. i don't know if it exists but there are many things like it. not exactly what you describe, but many blockchains use wasm as the contract execution runtime. also, it kind of sounds like filecoin but with compute. i'm sure "protocol labs" has a project close to what you are talking about. edit: the hard part to note is probably the "trust" part. might be trickier to solve than just giving…

Thanks for putting me on to Protocol Labs! It's a wealth of super cool projects.

Re: WASM-Native Orchestration

#26
post #19

Earlier quoted context omitted.

yes it's certainly possible. i don't know if it exists but there are many things like it. not exactly what you describe, but many blockchains use wasm as the contract execution runtime. also, it kind of sounds like filecoin but with compute. i'm sure "protocol labs" has a project close to what you are talking about. edit: the hard part to note is probably the "trust" part. might be trickier to solve than just giving…

Thanks for putting me on to Protocol Labs! It's a wealth of super cool projects.

Protocol Labs here — are you familiar with Fluence or Bacalhau projects? Those might be good starting points.

Re: WASM-Native Orchestration

#27

Earlier quoted context omitted.

You use k8s to manage the machines where wasmCloud runs, and wasmCloud to manage the WASM apps that run on top of it. That's at least my understanding.

And then you run QEMU-WASM[1] on that so you can run your Docker containers safely inside a Linux VM... [1]: https://ktock.github.io/qemu-wasm-demo/

Gary was a visionary: https://www.destroyallsoftware.com/talks/the-birth-and-death...

Re: WASM-Native Orchestration

#28

Earlier quoted context omitted.

You can't trust third party compute.

Perhaps we could: https://en.m.wikipedia.org/wiki/Homomorphic_encryption Someone far smarter than me could probably tell us if this actually works in the real world?

Maybe, but are you saying that you could perform an operation like "if string startswith("www") then ..." without decryption? That sounds enormously complicated.

And even so, it would be leaky, because you could follow the execution path and deduce things about the data.

So in summary it sounds implausible, but I may be wrong.

Re: WASM-Native Orchestration

#29

Mh... I would be most interested in how this could be used for running a local-first software infrastructure cloud. Does anyone has maybe some infos in how it could be used in that way ?

Unless you're shopping for something that is wasm-centric, almost certainly the thing you want is openstack[1] (or possibly Apache CloudStack but I doubt it)

1: https://www.openstack.org/

Re: WASM-Native Orchestration

#30

Question for everyone - I've long wondered if it would be possible to use WASM to create a p2p "cloud" to reduce reliance on datacenters? My thought would be to encrypt all data packets prior to shuffling them into the network, and have some sort of incentive for people to keep their devices running on the network to enhance reliability - probably with a blockchain of sorts that serves as the main "map" of content in…

I believe this is what the Spritely Institute (https://spritely.institute/) is working on with Spritely Goblins (distributed computing using object capabilities) and Hoot (Scheme to wasm compiler).
Post reply on HN