ended3월 16일· 1 sources

Virtual Materialized Views for Atlassian Forge SQL: A Two-Level Caching Approach in forge-sql-orm

Atlassian Forge SQL을 위한 가상 구체화 뷰: forge-sql-orm의 2단계 캐싱 접근법

Why it matters

Atlassian Forge SQL (backed by TiDB) lacks native materialized view support, making expensive join/aggregation queries prone to the platform's 5-second timeout and 16MB memory limits. The forge-sql-orm library addresses this with a two-level caching approach—an invocation-scoped in-memory cache and a persistent cross-invocation cache via @forge/kvs—that acts as virtual materialized views at the application layer. Cache-aware write operations and automatic invalidation keep read-heavy features responsive without manual synchronization logic.

1
Sources
+0
24h
Growth
189d
Active
Atlassian Forge SQLforge-sql-ormMaterialized ViewsTwo-Level CachingTiDB

Sources

Related Issues