Replace Node Http server with Mitol
ansarizafar opened this issue · comments
Zafar Ansari commented
Consider replacing Node Http server with Mitol server https://github.com/Helidium/Mitol. The performance difference is huge.
Dmitry Vakhnenko commented
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.
Vsevolod Strukchinsky commented
@ansarizafar you can use custom HTTP server with micro – see #264
Also check out uWebSockets – it has more community support.
Zafar Ansari commented
@floatdrop uWebSockets is amazing but I want to use micro cli. Is it possible to use micro/micro-dev cli with custom server?
Dmitry Vakhnenko commented
Just write wrapper. micro-cli is a small js file.
Leo Lamprecht commented
What @floatdrop said