You can use nginx as reverse proxy, load balance on 2 apps that are running on 2 different ports, and manage to always leave one alive when doing deploys.
clojars has some document (probably not very up to date) about this kind of setups: http://p.hagelb.org/clojars-deploy On Thursday, September 18, 2014 10:53:04 AM UTC+2, Ruslan Prokopchuk wrote: > > Community, how do you deploy clojure web applications? This question have > been asked several times, but I've not found answer to this particular > aspect: > what is the best way to deal with startup delay? > > I develop web application using http-kit and clojurescript. After deploy I > clean & rebuild clojurescript and rerun server. So, I have about half of > minute of downtime. > > I will be grateful for any advice. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.