Add exploration-only analysis for full-table caching and index it in analysis docs#494
Add exploration-only analysis for full-table caching and index it in analysis docs#494
Conversation
Agent-Logs-Url: https://github.com/Open-J-Proxy/ojp/sessions/4fc83e2f-1528-45cb-a680-6e5b51b65a81 Co-authored-by: rrobetti <7221783+rrobetti@users.noreply.github.com>
|
@copilot What if we load the table to be cached or a subset of a table into a H2 table in memory, the application would access that table via a different datasource and would know that the information on that table might be stale, the table (H2) would be refreshed X amount of time, like our current cache. How would that play out? This would allow the application to manage these H2 tables in whichever way they want, allowing for inserts updates deletes etc, it would be more flexible, also supporting joins and complex queries if required. |
This can work, and it’s a reasonable exploration path. My view: use it as a read-optimized mirror (not a writable source of truth). Pros: very flexible querying (joins/complex SQL), app-controlled refresh cadence, and offload from primary DB for hot reference reads. Main concerns:
Suggested guardrails if we explore it:
So: technically feasible and potentially valuable, but only safe if we treat it as a controlled, stale-tolerant read layer. Confidence: High (85%) for feasibility, Medium (65%) for operational simplicity at scale. |
|
@copilot add this to the analysis docs with your notes. |
…analysis Agent-Logs-Url: https://github.com/Open-J-Proxy/ojp/sessions/07978a24-d101-461a-9b41-c2632c14338b Co-authored-by: rrobetti <7221783+rrobetti@users.noreply.github.com>
Added in commit I documented this as an additional exploration note in No UI changes were made (docs-only change). |
|



Uh oh!
There was an error while loading. Please reload this page.