An identity services provider had modeled Cassandra tables the way it would have modeled relational ones, then added secondary indexes to cover the queries the primary key did not serve. Some partitions had grown into the gigabytes, and index-backed queries fanned out to every node in the ring. AceMQ was engaged to redesign the model.
Cassandra rewards modeling around query patterns and punishes modeling around entities. The redesign had to bound partition growth, keep the platform's dominant queries served by a single replica set, and be adoptable incrementally — the provider could not stop writes to rebuild tables wholesale.
Apache Cassandra on Kubernetes backing identity verification and credential lifecycle services.
AceMQ inventoried every query the application issued and worked backward to the tables required to serve them, accepting denormalization where it removed fan-out. Partition sizing was projected against several years of growth rather than current volume, and the migration was designed to run with dual writes so cutover carried no window.
Cluster-wide fan-out queries were eliminated from the hot path and the largest partitions came back within an order of magnitude of the recommended ceiling. Read latency became predictable across the key space rather than varying with partition size.
Assessment covering topology, replication and consistency configuration, JVM and garbage collection behavior, compaction health, and growth headroom.
Resolving read timeouts caused by tombstone accumulation on queue-like partitions where deletes outpaced compaction and gc_grace_seconds.
Whether you need architecture advisory, 24/7 support, or full managed services, AceMQ has the expertise to help.