Stream: general

Topic: ✔ Serverless platforms for wasmtime


view this post on Zulip julia (Sep 22 2022 at 18:57):

I know that some serverless platforms like Compute@Edge in fastly use wasmtime to compile and run wasm module.
I need a similar platform which uses wasmtime and also is open-source to use it in my project.
Can anyone help me with that?

view this post on Zulip Peter Huene (Sep 22 2022 at 19:00):

Hi @julia. Take a look at https://github.com/fermyon/spin which is also based on Wasmtime.

Spin is an open source framework for building and running fast, secure, and composable cloud microservices with WebAssembly - GitHub - fermyon/spin: Spin is an open source framework for building an...

view this post on Zulip julia (Sep 22 2022 at 19:19):

@Peter Huene thanks a lot. It is helpful. is there any other platform which is not implemented by rust? I just started learning it haven't had enough experience.

view this post on Zulip Peter Huene (Sep 22 2022 at 19:19):

Unfortunately I'm not aware of any at this time.

view this post on Zulip julia (Sep 22 2022 at 19:20):

@Peter Huene No problem, thanks a lot.

view this post on Zulip Bailey Hayes (Sep 23 2022 at 19:14):

What languages are you looking for? You might be interested in using a runtime like https://github.com/tetratelabs/wazero which is written in golang. There's also https://github.com/WasmEdge/WasmEdge

wazero: the zero dependency WebAssembly runtime for Go developers - GitHub - tetratelabs/wazero: wazero: the zero dependency WebAssembly runtime for Go developers
WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices,...

view this post on Zulip Angel M (Sep 26 2022 at 06:50):

@julia we're working on a new platform that we will OSS in some weeks. Hope we can get your feedback there too :big_smile:

view this post on Zulip Tadej Stanic (Sep 27 2022 at 19:11):

@julia Lunatic also uses wasmtime - https://github.com/lunatic-solutions/lunatic

Lunatic is an Erlang-inspired runtime for WebAssembly - GitHub - lunatic-solutions/lunatic: Lunatic is an Erlang-inspired runtime for WebAssembly

view this post on Zulip julia (Sep 27 2022 at 22:49):

@Angel M this is a great news, please let me know.

view this post on Zulip julia (Sep 27 2022 at 22:54):

@Tadej Stanic oh nice, thanks for sharing, can you please tell me know whether lunatic is executed using one process or more? I am asking because it is important to me to use a framework that uses different process for doing networking task such sending data to a server.

view this post on Zulip julia (Sep 27 2022 at 22:54):

@Bailey Hayes thanks a lot for sharing these frameworks!

view this post on Zulip Tadej Stanic (Sep 28 2022 at 06:18):

@julia Lunatic uses https://tokio.rs/ for the scheduler, which schedules async tasks on each of the available cores. For networking tasks, this is a really good solution because each of these tasks is run on a separated so-called process that has its own heap & stack (this is not a system process though). The concurrency is therefore really safe and fast. If you have two processes (tasks) that are dependent, then you can pass async messages between them and also define what happens if one of the processes got killed. This is a very short description of what Lunatic does under the hood, is nothing new, but rather an implementation of Erlang OTP ideas into the world of WASM. And if you look at why OTP was invented, then you'll understand that when you need high concurrency, OTP might be one of the best concurrency models out there.

view this post on Zulip Bailey Hayes (Sep 28 2022 at 14:48):

@julia also checkout https://wasmcloud.com/

view this post on Zulip Notification Bot (Oct 24 2022 at 04:43):

julia has marked this topic as resolved.


Last updated: Nov 22 2024 at 17:03 UTC