5 ms·
I have a demo Spin application running on a small VPS [1] and the performance is amazing. It boggles the mind that the server is loading the WASM, instantiating
by bketelsen 5y ago
I have a demo Spin application running on a small VPS [1] and the performance is amazing. It boggles the mind that the server is loading the WASM, instantiating a runtime, parsing markdown, applying templates, etc. all in just a few milliseconds. You can see the source for the blog [2], and the original blog engine Bartholomew [3] that it's based on.
Note this is a toy deployment, not actual content. Don't expect all the links to work or any content to be accurate or relevant :)
[1] https://spin.brian.dev/blog/2022-03-18-caddy-zero-downtime https://spin.brian.dev/blog/2022-03-18-caddy-zero-downtime
[2] https://github.com/bketelsen/wasmblog https://github.com/bketelsen/wasmblog
[3] https://github.com/fermyon/bartholomew https://github.com/fermyon/bartholomew
- matei_radu 5y ago(one of the Spin authors here.) This is so cool! The Spin documentation website (https://spin.fermyon.dev https://spin.fermyon.dev) is also served by Spin itself, running on a Nomad cluster, with the same blogging engine mentioned here. We're really looking forward to improving the rolling deployments, but it's really great seeing something like this live!