cache_mset
Set multiple key-value pairs with individual TTL settings in a single Redis pipeline operation to reduce network round-trips and improve cache performance.
Instructions
Set multiple key-value pairs in a single pipeline round-trip. Supports per-key TTL – unlike native MSET. Uses one TCP round-trip for N keys via Redis pipeline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | UUID of the cache instance | |
| items | Yes | Key-value pairs to set |