MongoDB Integration


MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of applications. It is an agile database that allows schemas to change quickly as applications evolve, while still providing the functionality developers expect from traditional databases, such as secondary indexes, a full query language and strict consistency.

MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDB’s native replication and automated failover enable enterprise-grade reliability and operational flexibility.

Dependencies
In order to use this feature, include the ${XAP_HOME}/lib/optional/mongodb/xap-mongodb.jar file on your classpath or use maven dependencies:

<dependency>
    <groupId>org.gigaspaces</groupId>
    <artifactId>xap-mongodb</artifactId>
    <version>12.2.0</version>
</dependency>
See also:

For more information on dependencies see Maven Artifacts


Space Persistence
A MongoDB Space Persistency Solution

Archive Handler
Archives space objects to MongoDB.