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?
Hi @julia. Take a look at https://github.com/fermyon/spin which is also based on Wasmtime.
@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.
Unfortunately I'm not aware of any at this time.
@Peter Huene No problem, thanks a lot.
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
@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:
@julia Lunatic also uses wasmtime - https://github.com/lunatic-solutions/lunatic
@Angel M this is a great news, please let me know.
@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.
@Bailey Hayes thanks a lot for sharing these frameworks!
@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.
@julia also checkout https://wasmcloud.com/
julia has marked this topic as resolved.
Last updated: Nov 22 2024 at 17:03 UTC