Design Patterns · Middle · Question 71 of 75
What is a collection pipeline?
orders.filter(isPaid).map(toTotal).reduce(sum, 0)- ✓Correct answer: Processing data as a chain of small transformations, each producing input for the next
- 2A CI pipeline for collections
- 3A database replication setup
Explanation
Each step is easy to name and test. For huge data, lazy iterators avoid creating intermediate arrays.