- Home
- Documentation
- Reference Guide
- Unravel Properties
- Cache support for database
Cache support for database
Property/Description | Set by user | Unit | Default |
---|---|---|---|
com.unraveldata.cache.enabled Enables caching for the database. When the value is false, the cache will not be enabled. | Boolean | false | |
com.unraveldata.cache.type Available options are none, embedded, ucache, redis. | Text | none | |
com.unraveldata.cache.serialization.type Available options are Kryo and Java. | Text | Kryo | |
com.unraveldata.cache.entry.ttl.secs The time-to-live (TTL) value in seconds for cached items. | Integer | 3600 | |
com.unraveldata.cache.size.max The maximum number of entries to be retained in the cache per client. | Integer | 10000 | |
Unravel cache worker specific properties | |||
com.unraveldata.cache.worker.enabled Enables cache workers. When the value is false, worker is not enabled. | Boolean | false | |
com.unraveldata.cache.unravel.host The Unravel cache host. | Text | 127.0.0.1 | |
com.unraveldata.cache.unravel.port The Unravel cache port. | Integer | 4310 | |
com.unraveldata.cache.deadline.long.seconds The time limit in seconds for longer duration gRPC calls in seconds. | Integer | 10 | |
com.unraveldata.cache.deadline.short.millis The time limit in seconds for short-duration gRPC calls in milliseconds. | Integer | 1000 | |
Redis specific properties | |||
com.unraveldata.cache.redis.host The Redis host. | Text | ||
com.unraveldata.cache.redis.port The Redis port. | Integer | ||
com.unraveldata.cache.redis.connection.timeout.millis The Redis connection timeout in milliseconds. | Integer | 10000 | |
com.unraveldata.cache.redis.read.timeout.millis The Redis read timeout in milliseconds. | Integer | 10000 | |
com.unraveldata.cache.redis.password The Redis password. | Text | null | |
com.unraveldata.cache.redis.database The Redis database. | Integer | 0 | |
com.unraveldata.cache.redis.client.name The Redis client name. | Text | null | |
com.unraveldata.cache.redis.ssl.enabled Enables the SSL for Redis. | Boolean | false | |
com.unraveldata.cache.redis.ssl.socket.factory The Redis SSL socket factory. | Text | null | |
com.unraveldata.cache.redis.ssl.params The Redis SSL parameters. | Text | null | |
com.unraveldata.cache.redis.host.name.verifier The Redis host name verifier. | Text | null |