nitrojs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.build
MIT License
6.16k stars 507 forks source link

Feat: Use Deno 2 parallel server #2803

Open yooneskh opened 1 week ago

yooneskh commented 1 week ago

Describe the feature

Deno 2 has landed and it introduced parallel server mechanism to allow using all of the cores of the CPU. Nitro can easily add support for that and allow all of the ecosystem to benefit from this.

Additional information

Ciantic commented 5 days ago

Vinxi is using nitro for build and server, and I think vinxi can't use Deno at all at the moment:

https://github.com/nksaraf/vinxi/issues/407

I wonder if the missing piece to make things work is in nitro or vinxi, and if this will fix it too.