[openstreetmap-website] User page redesign a.k.a. activity stream (#54)
Alex Barth
notifications at github.com
Tue Aug 21 05:04:47 BST 2012
>From having written lower scale activity stream style stuff before, I'd heavily lean towards the static model. It provides a much cleaner interface between an activity and the observer and scaling reading out activity logs is more predictable. It means that your activity stream code doesn't need to have intimate knowledge of possible activities and you can easier plug in activities that happen on different system tiers (e. g. on the wiki or help.osm.org).
Further I wonder how far the static method will scale and whether you'd want to use messaging for stuff like following your friends' activities. In a messaging model you would actually distribute a message to all observers for an activity, making querying activities much faster in the case of many actors (= friends you observe) with a high level of activity (= stuff they do).
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/54#issuecomment-7891001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120820/a604f71f/attachment.html>
More information about the rails-dev
mailing list