Skills Development Obsidian Rate Limiting

Obsidian Rate Limiting

v20260311
obsidian-rate-limits
Provides throttling patterns for Obsidian plugin file system operations, batching work, debouncing handlers, and yielding to the UI to keep vault operations safe during bulk processing.
Get Skill
331 downloads
Overview

Obsidian Rate Limits

Overview

Throttling patterns for Obsidian plugin file system operations. Obsidian runs on Electron with single-threaded UI -- excessive vault operations freeze the interface and risk data corruption.

Prerequisites

  • Understanding of Obsidian's event loop
  • Familiarity with async JavaScript patterns
  • Awareness of vault size impact on operations

Instructions

Step 1: Throttled File Operations

Step 2: Batch Read with UI Yielding

Step 3: Debounced Event Handlers

Step 4: Progress Feedback for Long Operations

For full implementation details and code examples, load: references/implementation-guide.md

Error Handling

Issue Cause Solution
UI freezes Too many sync operations Batch with UI yielding
Data corruption Concurrent writes to same file Queue writes, serialize per file
Memory pressure Reading all files at once Process in batches
Missed events Over-debouncing Set reasonable debounce (300-500ms)

Resources

Output

  • Configuration files or code changes applied to the project
  • Validation report confirming correct implementation
  • Summary of changes made and their rationale

See ORM implementation details for output format specifications.

Examples

Basic usage: Apply obsidian rate limits to a standard project setup with default configuration options.

Advanced scenario: Customize obsidian rate limits for production environments with multiple constraints and team-specific requirements.

Info
Category Development
Name obsidian-rate-limits
Version v20260311
Size 3.11KB
Updated At 2026-03-12
Language