Skip to content
Back to skills

Spark Optimization

ASecurity

Optimize Apache Spark jobs with partitioning, caching, shuffle optimization, and memory tuning. Use when improving Spark performance, debugging slow jobs, or scaling data processing pipelines.

  • 508 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
developmentgodebuggingperformance

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add Dokhacgiakhoa/antigravity-ide --skill spark-optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spark Optimization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spark Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dokhacgiakhoa-spark-optimization/badge)](https://www.skillsdirectory.com/skills/dokhacgiakhoa-spark-optimization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
version: 4.1.0-fractal
name: spark-optimization
description: Optimize Apache Spark jobs with partitioning, caching, shuffle optimization, and memory tuning. Use when improving Spark performance, debugging slow jobs, or scaling data processing pipelines.
---

# Apache Spark Optimization

Production patterns for optimizing Apache Spark jobs including partitioning strategies, memory management, shuffle optimization, and performance tuning.

## Do not use this skill when

- The task is unrelated to apache spark optimization
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.

## Use this skill when

- Optimizing slow Spark jobs
- Tuning memory and executor configuration
- Implementing efficient partitioning strategies
- Debugging Spark performance issues
- Scaling Spark pipelines for large datasets
- Reducing shuffle and data skew

## Core Concepts

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [1. Spark Execution Model](./sub-skills/1-spark-execution-model.md)
### 2. [2. Key Performance Factors](./sub-skills/2-key-performance-factors.md)
### 3. [Pattern 1: Optimal Partitioning](./sub-skills/pattern-1-optimal-partitioning.md)
### 4. [Pattern 2: Join Optimization](./sub-skills/pattern-2-join-optimization.md)
### 5. [Pattern 3: Caching and Persistence](./sub-skills/pattern-3-caching-and-persistence.md)
### 6. [Pattern 4: Memory Tuning](./sub-skills/pattern-4-memory-tuning.md)
### 7. [Pattern 5: Shuffle Optimization](./sub-skills/pattern-5-shuffle-optimization.md)
### 8. [Pattern 6: Data Format Optimization](./sub-skills/pattern-6-data-format-optimization.md)
### 9. [Pattern 7: Monitoring and Debugging](./sub-skills/pattern-7-monitoring-and-debugging.md)
### 10. [Do's](./sub-skills/dos.md)
### 11. [Don'ts](./sub-skills/donts.md)

Files in this skill

  • SKILL.md2 KB
  • sub-skills/1-spark-execution-model.md157 B
  • sub-skills/2-key-performance-factors.md1.3 KB
  • sub-skills/donts.md576 B
  • sub-skills/dos.md302 B
  • sub-skills/pattern-1-optimal-partitioning.md878 B
  • sub-skills/pattern-2-join-optimization.md1.9 KB
  • sub-skills/pattern-3-caching-and-persistence.md1.1 KB
  • sub-skills/pattern-4-memory-tuning.md1.3 KB
  • sub-skills/pattern-5-shuffle-optimization.md988 B
  • sub-skills/pattern-6-data-format-optimization.md970 B
  • sub-skills/pattern-7-monitoring-and-debugging.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…