Skip to content

perf: improve extraction cache throughput#44

Merged
Priveetee merged 2 commits into
mainfrom
dev
Jun 6, 2026
Merged

perf: improve extraction cache throughput#44
Priveetee merged 2 commits into
mainfrom
dev

Conversation

@Priveetee
Copy link
Copy Markdown
Owner

Summary

  • cache public extraction endpoints with hashed versioned keys and endpoint-specific TTLs
  • add cache hit/miss/store logging for public extraction cache
  • coalesce concurrent /streams cache misses per URL to avoid duplicate cold extractions

Verification

  • JAVA_HOME=/usr/lib/jvm/java-25-openjdk PATH=/usr/lib/jvm/java-25-openjdk/bin:$PATH ./gradlew clean check shadowJar --no-daemon
  • runtime curl validation on /suggestions, /trending, /search, /channel, /comments
  • runtime concurrent /streams validation: 8 identical misses completed in one shared extraction window

@Priveetee Priveetee merged commit 53a9965 into main Jun 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant