For anyone who isn't on the <#C5AL3AKUY|http4k> ch...
# server
d
For anyone who isn't on the #http4k channel, we've been working on a little something... :) https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1605102706295000
a
this is pretty cool - great work
is http4k its own client? Or a wrapper around the apache client?
d
It provides a single interface around OkHttp, Apache4/5, Jetty, or JDK clients
Same with the server and serverless backends - you choose whichever you’re most comfortable with and just plug it in.
a
Do you have any thoughts on jetty around memory usage and performance?
d
Not really tbh. Personally we tend to default to undertow. Did you need web sockets?
a
No - req/resp http is fine does undertow not support WS?
d
Not at the moment. Jetty and Netty only
a
what are your thoughts on undertow around mem usage and performance given that its the default?
d
AFAIK the only server which has higher memory consumption is Apache 4 and 5 (although they have generally the best performance according to TechEmpower. TBH we haven't really done many experiments with memory usage - although we'd be really happy to hear if anyone does any! This post had some comparisons which might be interesting to you: https://matej.laitl.cz/bench-rust-kotlin-microservices/