3 Replies Latest reply on Jun 6, 2012 10:59 AM by Peter Johnson

    Performance issue: Profile vs. AS

    Michal Furjel Newbie

      Hello,

       

      if I need to deploy the same application twice

      (for separate test and development setup):

       

      Is it better to have two completely separated JBossAS installed

      or to copy e.g. 'default' profile, configure another port for it and run?

       

      Thank you for any info.

       

      Kind regards,

      Michal

        • 1. Re: Performance issue: Profile vs. AS
          Peter Johnson Master

          I always prefer to have a separate system for testing. I do development on my dekstop, but do testing on a second system, usually a virtual machine.One reason for this is that the test system is set up to more closely reflect a production system.

          • 2. Re: Performance issue: Profile vs. AS
            Michal Furjel Newbie

            Actually, the thing is we have one machine where we want

            1. to make daily builds and testing

            2. to have a separate setup for internet access

             

            So I only wonder how to have one application deployed separately for those two cases.

            As I have learnt today I can't have in my situation the same app deployed twice in one AS and profile

            I would like to know (CPU and memory) what would be better solution considering original alternatives?

             

            Thank you,

            Michal

            • 3. Re: Performance issue: Profile vs. AS
              Peter Johnson Master

              Regarding CPU and memory either option is the same - they both require that you run two copies of the JVM. Thus you have two java processes and two heaps. However, I think that having two separate, clearly marked, installations of JBoss AS would be best. Thought I would still use two system, the thought of using a production machine to do builds and testing really makes me nervous!

              1 of 1 people found this helpful