I really like the idea! I think this would fit well for OTP’s httpd and perhaps “modernize” it.
Stay tuned and have an eye out for inets PRs (or maybe try opening your own )
I think the most obvious answer for me is “pick httpd over something else, when you want to limit the amount of 3pps and external dependencies as much as possible”. We aim to improve the inets application as a whole, but there is so much we can do, without creating a new client/server. I think the goal is to make both client and server usable and stable, and by doing so, not give users too many headaches.
I cannot think of any obvious performace/memory limitations inside of httpd, from the top of my head. Inets’ httpd was designed some time ago and is constantly improved and maintained. It is a good choice if it fits your needs (HTTP/1.1, no WS). I am sure, the best way to know for yourself if httpd is good enough for you, in the end, is to do your own benchmarks. My reason for that is, who else if not you yourself, understands your needs better. From my point of view, httpc and httpd were never designed to be blazingly fast, but that doesn’t mean it won’t be good enough for the use case you are after.