Implementing the Activity Stream

5 views
Skip to first unread message

Amjad

unread,
Mar 24, 2012, 6:13:35 PM3/24/12
to microcommunity
Hello everybody!

In this letter I'll try to summarize my research about this issue and what I've done so far.

An fully functioned activity stream system is complex, you can have a look:
http://stackoverflow.com/questions/202198/whats-the-best-manner-of-implementing-a-social-activity-stream
http://www.slideshare.net/danmckinley/etsy-activity-feeds-architecture

After some research, the best way to implement an efficient activity stream system is using NoSQL technologies such as Redis and MongoDB. There are some interesting gems out there:
https://github.com/rossta/seymour
https://github.com/christospappas/streama
https://github.com/mettadore/acts_as_stream (new one)

Unfortunately they are not quite popular.

There are some gems based on ActiveRecord, but they are all either old, non-active or poorly documented:
https://github.com/grzegorzblaszczyk/rails3-activity-streams
https://github.com/parolkar/pfeed
https://github.com/jamesgolick/timeline_fu

For now I thought we should concentrate on the core features of MicroCommunity. For this reason I built a simple model using ActiveRecord until we have some time to work the more efficient way.

This link gives you an idea about how I created the system:
http://stackoverflow.com/questions/6340440/creating-a-news-feed-in-rails-3

You can have a look at the source overview here:
https://github.com/wikitechie/MicroCommunity/wiki/Source-Overview

See you on Monday inshalla!

Amjad
Reply all
Reply to author
Forward
0 new messages