EventReduce: An algorithm to optimize database queries that run multiple times | Hacker News Reader