5 Replies Latest reply on Mar 5, 2008 4:15 AM by kukeltje

    load balance

    mindy.engelberg

      I am evaluating using the core jBPM within an existing J2SE application. However I will be load balancing these applications so that any one of them can respond to user input and process the next step of a workflow. Before I get too deep into figuring out how this all works, is it possible to have multiple instances of the core jBPM engine share databases and share the execution of tasks (so that if one server goes down the others can take over)?

      Thanks,
      Mindy

        • 1. Re: load balance
          kukeltje

          yes it does... just make sure there is just one scheduler running if you do not use the enterprise version

          • 2. Re: load balance
            mindy.engelberg

            Thanks for the response.

            Can you help me understand what the implications are of having a single scheduler (other than the obvious single point of failure)? As I said, I haven't delved into this much so I'm a little fuzzy as to what the scheduler does but it has something to do with scheduling timers. Can timers that are due still execute on multiple servers or is the timer executor also a singleton?

            Thanks,
            Mindy

            • 3. Re: load balance
              kukeltje

              Mindy,

              If you care about single point of failures, I'd suggest running the enterprise version which uses ejb timers and can run on multiple servers.

              • 4. Re: load balance
                mindy.engelberg

                Well, I was trying to keep this simple but maybe that's not possible. I don't really want to drag JBoss and other J2EE stuff into this.

                • 5. Re: load balance
                  kukeltje

                  Sorry... but it is not jBPM's core business to build enterprise grade queing and timer mechanism's if they are already available. That is what the first E in J2EE stands for.... Would cost to much of our precious time....

                  Regards,

                  Ronald