# Pipeline vs. MULTI

> How does pipelining in Redis differ from a MULTI/EXEC transaction, and when would you use each or both?

Canonical: https://www.internhack.in/learn/interview/redis-caching/redis-pipeline-transaction-diff
Last updated: 2026-11-28

Difficulty: Advanced

## Question

How does pipelining in Redis differ from a MULTI/EXEC transaction, and when would you use each or both?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Pipelining, MULTI/EXEC, Atomicity, WATCH, Round-Trip Time

Previous: [Manual Snapshots](https://www.internhack.in/learn/interview/redis-caching/redis-persistence-save-command) · Next: [Hash vs. Individual Keys](https://www.internhack.in/learn/interview/redis-caching/redis-hash-vs-individual-keys) · [All of Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)

## More Redis & Caching questions

- [Expire at Timestamp](https://www.internhack.in/learn/interview/redis-caching/redis-expire-at-timestamp)
- [Client ID](https://www.internhack.in/learn/interview/redis-caching/redis-client-id-command)
- [Wiping Data](https://www.internhack.in/learn/interview/redis-caching/redis-flush-commands)
- [Multiple Databases](https://www.internhack.in/learn/interview/redis-caching/redis-databases-count)
- [Atomic SET if not exists](https://www.internhack.in/learn/interview/redis-caching/redis-atomic-set-nx)
- [ZSET Range Query](https://www.internhack.in/learn/interview/redis-caching/redis-zset-range-by-score)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)
