Skip to content

Commit ffce812

Browse files
committed
Add Jedis (for Valkey) caches for domains and hosts
We add optional Valkey caching of hosts and domains for future use. Eventually, this will allow us to pre-warm large amounts of data in Valkey for quick retrieval during actions like RDAP. Note: this doesn't actually use the caches yet. We use Jedis instead of Redisson for speed purposes (https://www.instaclustr.com/blog/redis-java-clients-and-client-side-caching/) which means that we have to implement our own multilayer cache but that's not the worst thing in the world.
1 parent 409a7ba commit ffce812

55 files changed

Lines changed: 742 additions & 2542 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

buildscript-gradle.lockfile

Lines changed: 0 additions & 71 deletions
This file was deleted.

common/buildscript-gradle.lockfile

Lines changed: 0 additions & 4 deletions
This file was deleted.

common/gradle.lockfile

Lines changed: 0 additions & 85 deletions
This file was deleted.

console-webapp/buildscript-gradle.lockfile

Lines changed: 0 additions & 4 deletions
This file was deleted.

console-webapp/gradle.lockfile

Lines changed: 0 additions & 63 deletions
This file was deleted.

core/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ dependencies {
190190
testRuntimeOnly deps['guru.nidi:graphviz-java-all-j2v8']
191191
testImplementation deps['io.github.classgraph:classgraph']
192192
testRuntimeOnly deps['io.github.java-diff-utils:java-diff-utils']
193+
testImplementation deps['io.github.ss-bhatt:testcontainers-valkey']
194+
implementation deps['io.protostuff:protostuff-core']
195+
implementation deps['io.protostuff:protostuff-runtime']
193196
implementation deps['jakarta.inject:jakarta.inject-api']
194197
implementation deps['jakarta.mail:jakarta.mail-api']
195198
implementation deps['jakarta.persistence:jakarta.persistence-api']
@@ -243,6 +246,7 @@ dependencies {
243246
implementation deps['org.testcontainers:postgresql']
244247
testImplementation deps['org.testcontainers:selenium']
245248
testImplementation deps['org.testcontainers:testcontainers']
249+
implementation deps['redis.clients:jedis']
246250
implementation deps['us.fatehi:schemacrawler']
247251
implementation deps['us.fatehi:schemacrawler-api']
248252
implementation deps['us.fatehi:schemacrawler-diagram']

core/buildscript-gradle.lockfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)