Warning! This documentation is heavily in Work-in-Progress and subject to changes.
Introduction

Lagon is a free Open Source Runtime and SaaS that make it easy to deploy TypeScript and JavaScript Serverless Functions at the Edge, using V8 Isolates. It's also self-hostable.

⚠️
Lagon is still in heavy development. Do not use for production usages.

Current status:

  • Dev
  • Alpha
  • Beta
  • General Availability

Planned features

  • JavaScript Runtime based on V8 Isolates with Web APIs
  • Deploy APIs, SSR(ed) websites, Webhooks endpoints, Cron jobs...
  • CLI to manage Functions and run them locally
  • Playground in the website
  • Deploy at the Edge using the Cloud SaaS, or self-host it

Roadmap

Lagon is a fairly recent project. It is still in heavy development, so expect breaking changes and buggy features.

See the roadmap on GitHub (opens in a new tab)

How it works

Lagon uses V8 Isolates, which are sandboxed environments used to run plain JavaScript. That means each Function memory is isolated from each other and from the host. They are used behind the scene by Node.js (opens in a new tab), Electron (opens in a new tab), Deno (opens in a new tab) (and Deno Deploy (opens in a new tab)), Cloudflare Workers (opens in a new tab) and more.

V8 Isolates are very fast to start (faster than starting a whole Node.js process) and such allows to have a very low latency coupled with almost free cold-starts.