fastify / benchmarks

Fast and low overhead web framework fastify benchmarks.
https://github.com/fastify/fastify
MIT License
599 stars 231 forks source link

add hyper-express #290

Closed dougg0k closed 1 year ago

mcollina commented 1 year ago

I'm -1 to add this for the exact same reason we do not have uWebsocket.js. It's different C library than Node.js core.

dougg0k commented 1 year ago

It's based on it, but certainly has very decent API to use, and by no means barebones, it contains almost everything other libs do.

Also faster than fastify. Not because of that, right?

dougwilson commented 1 year ago

Also faster than fastify. Not because of that, right?

No. Reason was articulated above.

dougg0k commented 1 year ago

@mcollina Care to explain the reasoning, what is the problem with being from a different C lib?

Eomm commented 1 year ago

Let me share my opinion: it is not a generic HTTP framework. It is focused on speed over user experience.

What does it mean?

Happy to learn something more by reading other opinions

Interesting readings:

** https://github.com/uNetworking/uWebSockets.js/graphs/contributors

image
dougg0k commented 1 year ago

Hey @Eomm

I understand, but mostly of what you said was to uWebsocket, not hyper-express which has more functionality built upon it, which improves on the DX. It has middleware support and more.

It should work on any debian based OS with nodejs out of the box.

As for the random route, if you ask the maintainer he might add.

Thanks for your input though.