However, the computation can be translated into parallelizable operations in a distributed computing framework such as Hadoop (White, 2010) or MapReduce (Dean and Ghemawat, 2004).
the aggregation of queries into templates can be performed in a single MapReduce step.