vercel / micro

Asynchronous HTTP microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace Node Http server with Mitol

ansarizafar opened this issue · comments

Consider replacing Node Http server with Mitol server https://github.com/Helidium/Mitol. The performance difference is huge.

No please. This is incompatible with 90% ready-to-use npm packages

Helidium/Mitol#12
Implement stream response
The response object is a plain object. It should extend ReadableStream

Maybe late.

@ansarizafar you can use custom HTTP server with micro – see #264

Also check out uWebSockets – it has more community support.

@floatdrop uWebSockets is amazing but I want to use micro cli. Is it possible to use micro/micro-dev cli with custom server?

Just write wrapper. micro-cli is a small js file.