lukeed / polka

A micro web server so fast, it'll make you dance! :dancers:
MIT License
5.43k stars 174 forks source link

Switch to `undici` instead of `http` #170

Closed kurtextrem closed 3 years ago

kurtextrem commented 3 years ago

As Polka is performance oriented, maybe check out this new lib by the nodejs team: https://github.com/nodejs/undici It's faster than http, see: https://undici.nodejs.org/#/?id=benchmarks

TrySound commented 3 years ago

Looks like it's only client and does not provide an ability to create server.

lukeed commented 3 years ago

Correct. Undici is a http client

kurtextrem commented 3 years ago

Oh damn - overseen that, sorry.