How is transactional integrity with the database maintained?
As noted above, distributed transactions might introduce a severe performance and scalability bottleneck, especially if performed with the database as the system of record. In addition, attempting to execute transactions with the database violates one of the core principles behind the GigaSpaces Persistence as a Service (PaaS) approach: asynchronous updates to the database. To avoid this overhead, the GigaSpaces in-memory data grid (IMDG) ensures that transactions are resolved purely in-memory and are sent to the database in a single batch. If the update to the database fails, the system will re-try the operation until it succeeds.