aleph

danielcompton 2017-09-01T01:16:13.000133Z

Is there a way to make an aleph HTTP server suspendable? https://github.com/weavejester/suspendable. To do so I'd need to be able to update the routes that get passed in

shader 2017-09-01T02:03:06.000185Z

I imagine this question has been asked a lot, but what work has been done re: clustering on top of aleph? a lá Akka

miikka 2017-09-01T06:42:31.000008Z

@danielcompton, I'm suspending Aleph the same way as weavejester is suspending Jetty in duct: https://github.com/duct-framework/server.http.jetty/blob/master/src/duct/server/http/jetty.clj

miikka 2017-09-01T06:42:47.000147Z

i.e. have the handler in an atom

danielcompton 2017-09-01T08:21:35.000356Z

@miikka so the handler that you pass to Aleph does a deref of the atom to get the actual handler?

miikka 2017-09-01T09:05:46.000116Z

yeah

danielcompton 2017-09-01T09:15:50.000010Z

nice, thanks 🙂