optimize

Provide version-aware Cassandra configuration and tuning guidance for performance bottlenecks.

41|8|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/rustyrazorblade/skills --skill optimize-rustyrazorblade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/rustyrazorblade/skills/tree/main/plugins/cassandra-expert/skills/optimize
Command: npx skills add https://github.com/rustyrazorblade/skills --skill optimize-rustyrazorblade

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cassandra performance tuning is complex and version-sensitive; this Skill provides expert, production-tested guidance to optimize configuration for throughput, latency, and resource usage.

Core Features & Use Cases

  • Version-aware optimization recommendations for Cassandra clusters across 3.x to 5.0.
  • vnodes/num_tokens guidance: always recommend 1 or 4 tokens to simplify topology.
  • System readiness guidance: minimize read-ahead, tune JVM GC, and adjust memtables and per-table settings.
  • Migration & best practices: guidance for moving to UCS or tiered strategies and safe configuration migrations.

Quick Start

Start by confirming your Cassandra version, then review vnodes/num_tokens, read-ahead, memtables, and compaction settings to tailor performance improvements.

Frequently Asked Questions about optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I tune Cassandra for peak throughput and lower latency?

Cassandra tuning requires adjusting cluster-wide settings including vnodes, read-ahead, memtables, compaction, and JVM options to optimize throughput and latency. Version-aware configuration guidance ensures safe defaults and actionable improvements across deployments.

What are the best vnode and num_tokens settings for a Cassandra cluster?

Vnode and num_tokens tuning in Cassandra should always recommend 1 or 4 tokens to simplify topology. This configuration guidance helps resolve performance bottlenecks while ensuring safe defaults across cluster-wide settings.

How do I optimize Cassandra compaction and memtables for better performance?

Cassandra compaction and memtable optimization involves adjusting per-table settings and migrating to UCS or tiered strategies. Proper tuning of these system resources reduces bottlenecks and improves throughput across cluster deployments.

Does Cassandra tuning guidance differ between version 3.x and 5.0?

Cassandra tuning is version-sensitive, requiring version-aware configuration across 3.x to 5.0 deployments. Performance optimization guidance adapts JVM, compaction, and vnode settings to specific version requirements for safe and effective tuning.

What JVM and read-ahead settings should I adjust for Cassandra performance tuning?

Cassandra performance tuning requires minimizing read-ahead and tuning JVM garbage collection options. These system readiness adjustments work alongside memtable and compaction configuration to resolve latency and throughput bottlenecks.

Can I get migration guidance for switching Cassandra compaction to UCS or tiered strategies?

Cassandra compaction migration to UCS or tiered strategies requires explicit safety checks and version-aware guidance. Proper migration planning ensures safe configuration transitions while maintaining throughput and latency optimization across the cluster.