data-skew

Community

Mitigate data skew in distributed processing systems

Authorhung-phan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the issue of data skew in distributed processing systems, ensuring efficient processing by mitigating the imbalance in workload distribution.

Core Features & Use Cases

  • Skew Detection: Identifies and proves the presence of data skew in distributed processing systems.
  • Salting: Splits hot keys into multiple sub-keys to balance the workload.
  • Broadcast Join: Enables join operations without shuffling when one side fits in memory.
  • Isolate and Replicate: Separates hot keys and processes them separately for optimal performance.
  • Spark AQE: Utilizes Spark Adaptive Query Execution to handle skewed join operations.
  • Secondary Sort: Orders data within a heavy key without storing values in memory.
  • Range Partitioning: Handles contiguous-skewed data by partitioning based on ranges.
  • Storage-level Mitigations: Applies strategies specific to databases like Cassandra, DynamoDB, and Kafka.
  • Pre-aggregation: Reduces shuffle volume by aggregating data locally on each mapper.
  • Map-side Combine: Combines data before shuffling to reduce volume.
  • Use Case: When processing large datasets, if one key has significantly more data than others, causing a single worker to handle most of the workload and others to be idle.

Quick Start

Use the data-skew skill to detect and mitigate skew in your distributed processing job.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: data-skew
Download link: https://github.com/hung-phan/system-skills/archive/main.zip#data-skew

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.