Deque
Why it matters: Supports bounded producer/consumer buffers, work-stealing, and algorithms that need both FIFO and LIFO access.
Durable double-ended collection with atomic push and pop operations at either end.
API endpoints
| Method | Path | Description |
|---|---|---|
POST | /v1/deques | Create a deque |
POST | /v1/deques/:id/front | Push an item to the front |
POST | /v1/deques/:id/back | Push an item to the back |
POST | /v1/deques/:id/pop-front | Atomically pop the front item |
POST | /v1/deques/:id/pop-back | Atomically pop the back item |