When inserting, updating, or deleting large numbers of documents (hundreds+), using the Bulk API is far more efficient than individual operations. The SDK batches requests internally and manages parallelism.
We need a rule covering:
- .NET: \AllowBulkExecution = true\ on \CosmosClientOptions\
- Java: \�nableBulk()\ on \CosmosContainerProperties\
- Python: \container.execute_item_batch()\
- When NOT to use bulk (small batches, latency-sensitive reads)
Category: \sdk-\ SDK Best Practices
Impact: High
Suggested file: \skills/cosmosdb-best-practices/rules/sdk-bulk-operations.md\
References:
This is a good first issue! Follow the Contributing Guide and use the rule template to get started.
When inserting, updating, or deleting large numbers of documents (hundreds+), using the Bulk API is far more efficient than individual operations. The SDK batches requests internally and manages parallelism.
We need a rule covering:
Category: \sdk-\ SDK Best Practices
Impact: High
Suggested file: \skills/cosmosdb-best-practices/rules/sdk-bulk-operations.md\
References:
This is a good first issue! Follow the Contributing Guide and use the rule template to get started.