This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-28
Channels
- # announcements (1)
- # aws (1)
- # babashka (15)
- # beginners (19)
- # biff (4)
- # clojars (24)
- # clojure (22)
- # clojure-europe (17)
- # clojure-norway (3)
- # clojurescript (10)
- # emacs (5)
- # gratitude (1)
- # introduce-yourself (2)
- # jobs (1)
- # malli (3)
- # off-topic (2)
- # re-frame (1)
- # remote-jobs (3)
- # shadow-cljs (71)
- # vim (4)
Hello all, I'm building a web app that uses htmx and server-sent events heavily. What would be your recommended web server? I'm on the fence between httpkit and aleph.
Biff uses Jetty via this adapter, which adds support for web sockets: https://github.com/sunng87/ring-jetty9-adapter. looks like you could theoretically do SSE on top of that: https://github.com/sunng87/ring-jetty9-adapter/issues/63#issuecomment-1186704405. I've never used SSE myself and have no idea how hard it would be. Other than that, the only stuff I know about web servers is what I read here: https://ericnormand.me/mini-guide/clojure-web-servers
(if you don't have a strong preference between SSE and web sockets, then I can attest that Jetty works fine for web sockets)