Live data from Hacker News

Wasmer Edge: WebAssembly on the Edge

wasmer.io

11–20 of 55 posts

Re: Wasmer Edge: WebAssembly on the Edge

#11
post #8

Earlier quoted context omitted.

You can compile the interpreter itself (such as CPython) to Wasm/WASIX and let Wasmer do it's thing :)

What about third-party modules? Next.js depends on SWC, which is written in Rust. Will it run on wasmer?

It’s a technical challenge but we believe is fully doable.

BTW, SWC is already powered by Wasmer!

Re: Wasmer Edge: WebAssembly on the Edge

#13

This post is coated with lots of marketing fluff, while not directly answering the questions I most care about; How does it work? What can I host with it? How does the pricing compare (free tier?)?

> How does it work?

If you are interested in knowing how it works I recommend reading the docs [1], we have invested quite some time in them. Please let us know if more info might be useful and we will work on updating them.

> What can you host with it

Right now any static sites and Rust applications (including webservers and other TCP/UDP applications). Support for Node.js and Python is coming very soon!

> How does the pricing compare (free tier?)?

During the private alpha, Wasmer Edge will be completely free for its users.

Once the beta becomes public and available to everyone, pricing is expected to be comparable to Cloudflare Workers. We have also drafted the pricing on the product page [2]

[1] https://docs.wasmer.io/edge/architecture

[2] https://wasmer.io/products/edge

Re: Wasmer Edge: WebAssembly on the Edge

#14

This post is coated with lots of marketing fluff, while not directly answering the questions I most care about; How does it work? What can I host with it? How does the pricing compare (free tier?)?

It has even deployment instructions that don't tell you when your code will run, what resources are available or even on what URL you can access it. They say you can host a tokio server, but there's no mention of database or filesystem.

I imagine that admin panel has those answers, but well, I'm really not doing a deployment to see it. (I'm not even creating an account.)

Re: Wasmer Edge: WebAssembly on the Edge

#16
Just today I was hacking together something to enable spawning gRPC endpoints on remote host that would run as WASI modules. Didn't get far with wasmer-go bindings so I went with Wazero for now, but I hope to see the former getting some love.

Re: Wasmer Edge: WebAssembly on the Edge

#18
Congrats on the launch. Other wasm PaaS services are focused on HTTP endpoints where the wasm modules are run ephemerally, which is cool, but this gets me excited because it's more general. As I understand it, this could replace many of the things people containerize as network services (in a sibling comment you mention using it to serve DNS!)

If you use tokio in this, is it effectively a single-threaded tokio runtime, or do you have a way to take advantage of multiple cores?

Re: Wasmer Edge: WebAssembly on the Edge

#19
post #8

Earlier quoted context omitted.

What about third-party modules? Next.js depends on SWC, which is written in Rust. Will it run on wasmer?

It’s a technical challenge but we believe is fully doable. BTW, SWC is already powered by Wasmer!

How is swc "powered by" wasmer?

Re: Wasmer Edge: WebAssembly on the Edge

#20
post #15

How does this work with applications that need databases or other stateful things?

For the moment all workloads are stateless, but you can already connect to external databases. There are "serverless" DB providers like Neon [1].

Persistence is on the roadmap though.

[1] https://neon.tech/

Post reply on HN