-
Notifications
You must be signed in to change notification settings - Fork 297
DataStores
Implementations of IDataStore interface
By default Wicket provides DiskDataStore.java that persists serialized stateful pages in the local disk storage. When the application is heavily used this may lead to performance regressions.
The modules provided by this project aim to provide better implementations which store the data in memory and may provide replication facilities.
Uses Memcached as a backend and spymemcached as a Java driver.
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-datastore-memcached</artifactId>
<version>6.13.0</version>
</dependency>
Uses Apache Cassandra as a backend and cassandra-driver-core as a Java driver.
Works with Apache Cassandra 1.2+.
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-datastore-cassandra</artifactId>
<version>6.13.0</version>
</dependency>
Uses Redis as a backend and Jetis as a Java driver.
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-datastore-redis</artifactId>
<version>6.13.0</version>
</dependency>
Uses Hazelcast as a backend and hazelcast's oficial Java driver.
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-datastore-hazelcast</artifactId>
<version>6.13.0</version>
</dependency>
Provides SessionQuotaManagingDataStore - an IDataStore implementation that manages the memory usage by http session. It should be used as a wrapper around another IDataStore implementation.
Additionally this module provides mini testing framework for all other implementations
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-datastore-common</artifactId>
<version>6.13.0</version>
</dependency>
Apache 2.0.