colyseus / uWebSockets-express

Express API compatibility layer for uWebSockets.js
https://npmjs.com/package/uwebsockets-express
MIT License
56 stars 13 forks source link

Compare with nanoexpress #5

Open joeky888 opened 3 years ago

joeky888 commented 3 years ago

Hello there. nanoexpress is an extremely fast framework built on top of uWebsockets (see benchmark). So I wonder what is the difference between this and nanoexpress? Is it any good?

endel commented 3 years ago

Hi @joeky888,

The intention of this project is to be a real drop-in replacement for Express. AFAIK nanoexpress has a slightly different API than Express, and is not fully compatible with Express' existing middlewares and community tooling.

Performance is not the number 1 objective of this tool. Compatibility is.

Although @Doumor has made some benchmarks and made it available here: https://github.com/endel/uWebSockets-express/issues/4#issuecomment-875951536

joeky888 commented 3 years ago

Thanks, would you add a comparison of these frameworks in the readme like this?

Doumor commented 3 years ago

Thanks, would you add a comparison of these frameworks in the readme like this?

I forgot to add my tests and their results to the repository. Today it will be.