Selecting Secondary Index Types in Apache Phoenix: Global vs. Local
Compare Global and Local secondary indexes in Apache Phoenix to balance write throughput and read latency in HBase-backed applications.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Compare Global and Local secondary indexes in Apache Phoenix to balance write throughput and read latency in HBase-backed applications.
Phoenix secondary indexes are separate HBase tables, not magic. Learn when a global index is worth the synchronous write cost, when a local index fits your access pattern, and how covering columns trade storage for read speed.
Implement a lightweight, low‑latency aggregation layer with Phoenix materialized views. This guide walks through the minimal design, trust boundaries, operational checks, and failure modes to help you decide if MV is right for your use case.
Phoenix LiveView lets you build interactive search and pagination in Elixir without a JavaScript SPA. Learn the lifecycle, a worked example, and the memory trade-offs.
Architecture note on adding a single‑column Phoenix secondary index: requirements, minimal design, consistency boundaries, operational checks, failure modes, and when to revisit the design.
Phoenix LiveView keeps UI state on the server and pushes DOM diffs over WebSockets. Learn how the mount-to-assigns loop works, where memory and latency limits appear, and how to verify the behavior in your app.
Learn how to use Phoenix Channels and the Presence module to manage real‑time user state across distributed clusters without relying on a central database.
When HBase tables grow to millions of rows, full scans become a bottleneck. Phoenix materialized views turn those scans into fast index lookups. This guide explains when to use them, compares full‑rebuild versus incremental refresh, and walks through a concrete implementation and validation.
Learn how to synchronize state across distributed Phoenix nodes using PubSub to build scalable, real-time bidirectional communication.