Building Activity Streams for Large Web Applications