/deno-paas

Deno-based PaaS project

Primary LanguageTypeScript

Deno-based PaaS project

An attempt to create a Deno-based PaaS that uses Isolates to deploy things

Project description

The idea is to use Deno to deploy third-party code running within one Deno instance. The aim is to rely on using V8 Isolates with bootstrapped Deno environment, rather than running via separate processes.

Current approach: Build a basic REST API with auth and everything first, run code via processes, migrate to isolates later.

Approaches that failed:

  • Dynamic import:
    • it worked
    • runs on the same (shares global scope)
    • cannot be controlled by parent
  • Worker:
    • didn't work (still WIP in Deno)
    • cannot be controlled by parent
  • Deno native plugin:
    • didn't work (not enough public APIs)
    • Deno will expose Deno Worker later on natively

Related links

Useful links

License

MIT