I've been reading about Heroku's process model and their approach to web 
app architecture.

I'm curious how you could recreate something like this:

https://devcenter.heroku.com/articles/getting-started-with-clojure#one-off-scripts

Using an uberjar in environments other than heroku.

Would it make sense to uberjar with multiple profiles and separate mains 
for each type of process.  An "app", "worker", "scheduler", etc.

I imagine in that case you spin up each version of your app on the full JVM 
and that could get troublesome.

Much of this stems from wanting to separate my scheduled tasks from the 
same process as my web app.  I haven't found a good way to do this and this 
approach seems like a move in the right direction at least.

Any thoughts? 

-- 
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.

Reply via email to