Choose the Right Data Access Pattern
Build a data access layer that selects KeyValueView, RecordView, or SQL at every call site based on key availability, operation shape, and safety requirements.
Build a data access layer that selects KeyValueView, RecordView, or SQL at every call site based on key availability, operation shape, and safety requirements.
Analyze access patterns, build colocation chains, choose distribution zones, and verify your schema design with system views and EXPLAIN plans.
Pick a partition count for a partitioned cache on Apache Ignite 2 or GridGain 8. Default is 1024. This guide covers when to accept it, when to size up, and the formula that maps cache row count to a safe partition number.
Express distributed schema design decisions as Java annotations. Define entity classes, colocation chains, and distribution zones, then create the entire schema with a single API call.
Reference data belongs in REPLICATED caches. Build a star schema with partitioned fact tables and replicated dimension tables, measure the cost of setDistributedJoins with and without colocation, and learn when a dimension is small enough to replicate.