Skip to content

Self-hosted serverless in 200 lines with Deno and SQLite

github.com/tbillington
3 pointstbillington1 comment
On HN

Comments

Hey all, this is cleaned up code from a live demo I did at rust sydney. We integrated deno with a http server and sqlite to get your own mini "serverless" runtime with sandboxed access to a sqlite-backed key value store.

It was a lot of fun to build, and honestly I was pleasantly surprised how easy it was to bring together 3 quite complex technologies with relatively little effort and time.

I think it's a testament, not only to Rust, but also the teams on these projects that it was so easy to combine them in a safe and convenient way. I probably spent more time fiddling with the example and the log formatting...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.