> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fincept.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch Operations

> Efficient batch processing patterns

# Batch Operations

Process multiple items efficiently.

## Pattern 1: Sequential with Rate Limiting

```python theme={null}
import time

def process_batch(items):
    results = []
    for item in items:
        result = api_call(item)
        results.append(result)
        time.sleep(0.1) # Rate limit compliance
    return results
```

## Pattern 2: Parallel Processing

```python theme={null}
from concurrent.futures import ThreadPoolExecutor

def process_parallel(items, max_workers=10):
    with ThreadPoolExecutor(max_workers=max_workers) as executor:
        results = list(executor.map(api_call, items))
    return results
```

[Learn more →](/advanced-workflows)
