Live data from Hacker News

Wasmer Edge: WebAssembly on the Edge

wasmer.io

21–30 of 55 posts

Re: Wasmer Edge: WebAssembly on the Edge

#21
post #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 runtim…

We use WASIX [1] to enable multi-threaded tokio inside Webassembly.

That's actually how we have implemented static sites.

For each site a a WebAssembly instance is spawned that runs a tokio static-web-server [2], which is multi-threaded and concurrently handles requests.

That way the Edge serves static sites in the exact same way as you can run them locally (with `wasmer run wasmer/docs`, for example).

[1] https://wasix.org/

[2] https://github.com/wasix-org/static-web-server

Re: Wasmer Edge: WebAssembly on the Edge

#24
post #19

Earlier quoted context omitted.

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

How is swc "powered by" wasmer?

SWC uses Wasmer for its plugin system to execute WASM plugins.

Re: Wasmer Edge: WebAssembly on the Edge

#25

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.)

> It has even deployment instructions that don't tell you when your code will run

You're referring to this? https://docs.wasmer.io/edge/quickstart/http-server Personally, I found it pretty instructive.

The current regions are us-east, us-west, and eu-central: https://docs.wasmer.io/edge/architecture

> but there's no mention of database or filesystem.

The docs do point out that stateful workloads are in their plans.

Re: Wasmer Edge: WebAssembly on the Edge

#26

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…

Can I run an anycast DNS server on this?

Re: Wasmer Edge: WebAssembly on the Edge

#28

Hi HN! I'm Syrus, from Wasmer. We have created Wasmer Edge as a powerful alternative to the Clouds. An alternative that allows reusing the codebases that worked in the Cloud without rewriting them to custom SDKs (such as Amazon Lambda, or Cloudflare Workers), and running them at CDN-like prices. With Wasmer Edge you can use a normal http-server in any language or even write a full DNS server based on it. We are incre…

Hi Syrus, this looks great and I'm an early adopter of WASM and Wasmer so anything new on this end is interesting to me.

That said,

>Join the waitlist to try Wasmer Edge today and experience the difference for yourself.

... this was very anticlimactic, it made me look away, honestly.

Could you just let us all in?

Re: Wasmer Edge: WebAssembly on the Edge

#29
I like this way of making software, but calling 'Edge' and saying decentralized is confusing. This is a service that hosts my software on their computers. How is this different than AWS or CloudFlare or any of the other cloud providers? I understand their VM tech is different, but what does makes it 'Edge' or 'decentralized'?

Re: Wasmer Edge: WebAssembly on the Edge

#30
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/

And Turso! https://turso.tech/
Post reply on HN