How do I maintain transactional integrity with GigaSpaces EDG?
GigaSpaces EDG supports the standard two-phase commit protocol and XA transactions. Having said that, this model should be avoided as much as possible due to the fact that it introduces dependency among multiple partitions, as well as creates a single point of distributed synchronization in the system. Using a classic distributed transaction model doesn’t take advantage of the full linear scalability potential of the partitioned topology offered by GigaSpaces EDG. Instead, the recommended approach is to break transactions into small, loosely-coupled services, each of which can be resolved within a single partition. Each partition can maintain transaction integrity using local transactions. This model ensures that in partial failure scenarios the system is kept in a consistent state.