FAQ
Hi
Let's discuss some modern strategies to deploy clojure web app, from
easiest to heavy ( for heavy traffic apps).
I suggest some ways.
1. Heorku <https://devcenter.heroku.com/articles/clojure-web-application> way
- the easiest one. I had experience with deploy to heroku it works out of
the box, pretty simple really. For toy apps best way i think.
2. Immutant <http://immutant.org/tutorials/> way - JBoss server app. I had
no experience with it but as i see it's not so difficult to deploy and run
your app this way.
3. Jelastic<http://blog.jelastic.com/2012/07/04/fastest-way-to-deploy-clojure-applications-to-the-cloud/>way- deploy as java app to the cloud.
So as i plan to make pretty heavy app (say 1000-3000+ hits a day) what best
strategy i should choose for now ?

What's your experience with this ? Any suggestions and thoughts are welcome.

--
--
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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Michael Klishin at Sep 23, 2013 at 9:53 am
    2013/9/23 Roman Yakovlev <felixcon@gmail.com>
    So as i plan to make pretty heavy app (say 1000-3000+ hits a day) what
    best strategy i should choose for now ?
    As long as you have enough RAM for the app not to swap in/out all the time,
    3000 requests per day is child's play
    for JVM-based services.


    What's your experience with this ? Any suggestions and thoughts are
    welcome.

    Anything you like. Building an überjar with Jetty and running that is more
    popular than all of the
    above put together.
    --
    MK

    http://github.com/michaelklishin
    http://twitter.com/michaelklishin

    --
    --
    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+unsubscribe@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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Antonio Terreno at Sep 23, 2013 at 3:34 pm

    On Mon, Sep 23, 2013 at 10:52 AM, Michael Klishin wrote:
    2013/9/23 Roman Yakovlev <felixcon@gmail.com>
    So as i plan to make pretty heavy app (say 1000-3000+ hits a day) what
    best strategy i should choose for now ?
    As long as you have enough RAM for the app not to swap in/out all the
    time, 3000 requests per day is child's play
    for JVM-based services.


    What's your experience with this ? Any suggestions and thoughts are
    welcome.

    Anything you like. Building an überjar with Jetty and running that is more
    popular than all of the
    above put together.
    +1,
    to then physically put the uberjar into the live box some tools have been
    already suggested in this thread:
    https://groups.google.com/forum/#!searchin/clojure/fabric/clojure/oB9ZAFMdx24/z-KjcPo0IkEJ

    (http://docs.fabfile.org/en/1.8/ & http://www.ansibleworks.com/)

    http://www.capistranorb.com/ or any other popular alternatives such as
    http://nadarei.co/mina/ will also do the job pretty well.


    --
    MK

    http://github.com/michaelklishin
    http://twitter.com/michaelklishin

    --
    --
    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+unsubscribe@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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    --
    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+unsubscribe@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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Waldemar at Sep 23, 2013 at 12:30 pm
    In my master thesis I used compojure/ring with a jetty adapter.
    It's a recommender engine that runs completely in memory, so no need for external services calls or DB connections.

    Deployed it as a jar to a amazon c1.large instance.
    It is hit with 800+ request per second from 9 to 23 -> 40,320,000 per day.
    The CPU is board at about 35%.

    Hope this helps.


    All the best,
    Waldemar

    Am 23.09.2013 um 11:47 schrieb Roman Yakovlev <felixcon@gmail.com>:
    Hi
    Let's discuss some modern strategies to deploy clojure web app, from easiest to heavy ( for heavy traffic apps).
    I suggest some ways.
    1. Heorku way - the easiest one. I had experience with deploy to heroku it works out of the box, pretty simple really. For toy apps best way i think.
    2. Immutant way - JBoss server app. I had no experience with it but as i see it's not so difficult to deploy and run your app this way.
    3. Jelastic way- deploy as java app to the cloud.
    So as i plan to make pretty heavy app (say 1000-3000+ hits a day) what best strategy i should choose for now ?

    What's your experience with this ? Any suggestions and thoughts are welcome.

    --
    --
    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+unsubscribe@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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    --
    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+unsubscribe@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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupclojure @
categoriesclojure
postedSep 23, '13 at 9:47a
activeSep 23, '13 at 3:34p
posts4
users4
websiteclojure.org
irc#clojure

People

Translate

site design / logo © 2022 Grokbase