hashicorp / nomad

Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
https://www.nomadproject.io/
Other
15k stars 1.96k forks source link

Feature Request: Driver for v8 Isolates #9124

Open balupton opened 4 years ago

balupton commented 4 years ago

V8 isolates are what cloudflare workers are built on https://developers.cloudflare.com/workers/learning/how-workers-works

As cloudflare is becoming the monopoly of the web, it would be nice for an open-source alternative to their lightweight serverless function/worker model using v8 isolates.

I'd imagine this could be done as a nomad driver and then allow nomad tasks to be specified as wasm or javascript to run on that nomad driver.

This would eliminate the need for something more heavy weight like openfaas

tgross commented 4 years ago

Hi @balupton!

There's some interesting consideration here as to whether v8 isolates a wasm driver (once resource isolation is a bit better formed) is the best approach. Although I suspect there may be folks in the community already experimenting with this. Going to mark this as an enhancement for further discussion.