Fork me on GitHub
#ring
<
2022-11-19
>
seancorfield17:11:28

Based on comments in https://github.com/ring-clojure/ring/issues/439 I get the impression that the built-in Jetty 9 adapter is considered stable but deprecated (it's out of community support, since June, and there doesn't seem to be the will/bandwidth to update the built-in adapter to Jetty 10 or 11)? At work we've switched to https://github.com/sunng87/ring-jetty9-adapter (with Jetty 11, and we're leveraging the -- very nice -- WebSocket support in that adapter). We've also used http-kit (but switched back to Jetty due to poor support in New Relic for http-kit). What are folks generally doing these days as far as an HTTP server to use with Ring? Are people still comfortable with the built-in Jetty 9 adapter? In the sunng adapter considered the de factor Jetty standard now?

Apple17:11:39

kit-clj defaults to undertow

seancorfield17:11:49

Ah, I'd completely forgotten there was a standalone Undertow adapter -- when Immutant (the Clojure/JBoss setup) went idle about five years ago, I sort of assumed everyone had stopped using Undertow. Probably because I've paid zero attention to Luminus (or Kit).

hifumi12303:11:43

I've been using ring-undertow-adapter (although it's from luminus, I do not use luminus framework at all). I've given up on using the default jetty 9 adapter because I'm not constrained by java 8 whatsoever, and the undertow adapter gives me exactly the functionality and performance I want.

dergutemoritz10:11:16

Aleph here - since it's been revived by clj-commons it's a pretty good choice again IMHO

Eugen17:11:52

we are looking at Jetty 10/11 - since there are servlet web apps we would like to use

Eugen17:11:12

pedestal is also receiving some TLC, they released a maintenance version for jetty 9.x and planning to do a release with Jetty 10/11