Sorry to ask what may be an obvious question to you. But what is a good way of 
embedding a swank server inside a production app? I'm kind of an emacs 
beginning and in development I just do lein swank and slime-connect from Emacs- 
that works fine.

If I'm embedding swank clojure server in non-development, the code would need 
to start up swank - how would I do that?

Thanks, 




On 24/05/2012, at 19.19, Sean Corfield wrote:

> On Thu, May 24, 2012 at 9:07 AM, blais <goo...@furius.ca> wrote:
>> Is it common for people deploying Clojure servers in a production
>> environment to leave a swank or nrepl server running for making live bug
>> fixes? Do you guys do this?  Would you advise against it?
> 
> We've recently added swank server to our production machines - we
> generally start/stop it as needed via an admin console - mostly for
> live in-process debugging but we have, very occasionally, applied live
> fixes. As Jay and Phil said, not for the faint of heart and not as a
> replacement for your normal release process. The in-process debugging
> has proved incredibly valuable for us as we've gone thru a massive
> data migration and this allows us to easily repro and analyze
> unexpected behavior that arises from bad/legacy data that have slipped
> thru our automated and manual QA processes. Most fixes that we've
> applied live have actually been scripts to clean up anomalies in the
> legacy data rather than live code updates.
> -- 
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
> 
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
> 
> -- 
> 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 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

Reply via email to