HTTP Server
Impressive TCP benchmark results. I was wondering what would be involved in adding support for a basic web server -- abstracting some of the networking+threading into something that resembles wai. Are there plans to further develop the Server module?
Yes, of course, a HTTP module is on the roadmap. But currently, I'm a bit lack of hand here since I'm busy with:
- JSON module (spoiler, 2X~3X faster than aeson, fully RFC8258 comply).
- UDP module
Design an HTTP server with stdio may be more involved since its core packed bytes data type is not ByteString, which is used in lots of places of wai. In another word, a redesign of HTTP basic packages such as http-types, wai, etc. is necessary. If designing and building a HTTP module interest you, please join in!