On Wed, Jul 13, 2011 at 7:32 AM, Anuj Bhatia <[email protected]> wrote: > I’m looking into using components implemented in BPEL as part of a Tuscany > Java application, but I’ve come across what seems to be a limitation of ODE > – that it does not support clustering out of the box. It looks like if > multiple ODE instances in a cluster are using a single centralized database > they’re not able to coordinate their actions and might end up executing the > same BPEL process instance multiple times. > > > > Does anybody have any experience in running components using > implementation.bpel in a clustered environment and can provide more insight > into how this would work? > > > > From my initial investigation it looks like one option is to move from ODE > to a different BPEL engine that supports clustering and communicate with it > using standard web service calls, but that means that we lose the benefits > of tight Tuscany integrations and any calls back from the BPEL process to > components hosted in Tuscany also have to go over the SOAP WS communication > stack. > > > > I guess the ideal solution would probably be to implement a new Tuscany > implementation type that uses an alternative BPEL engine instead of ODE, but > I’m not sure how complex that would be. Is there any documentation that > describes what it would take to implement a new Tuscany implementation type? > > > > Thanks > > Anuj > >
Hi Anuj I know when Mike added the original implementation.bpel he wrote some notes here [1]. I've not heard anyone talk on this list about clustering and BPEL so I'm not much help to you on that front. We did experiment with clustering the Tuscany runtime itself simply by running the same composite up in nodes running on different Tomcat servers running behind an Apache server but we didn't look into what the implications are for BPEL. As you say I suspect the coordination/afinity processing is the complicated part and we'd rely on support from the engine. Anyone else know anything about this? [1] http://tuscany.apache.org/mike-edwards-ramble-through-adding-a-new-implementation-type.html Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
