Activity streams/News feeds with Aggregation, MySQL and Redis support

I need to implement an activity feed for a Rails application with the
following features:

  • Needs to work with MySQL database
  • Needs to support aggregations for similar feed stories (like

There is a library out there for Python, Feedly
GitHub - tschellenbach/Stream-Framework: Stream Framework is a Python library, which allows you to build news feed, activity streams and notification systems using Cassandra and/or Redis. The authors of Stream-Framework also provide a cloud service for feed technology:, which seems to be an EXACT
for what I am trying to build, but well… I need it in Ruby.

Can anyone recommend a gem/library?

Rob B.
[email protected]

Unfortunately you missed the point. I wasn’t referring to RSS feeds. I
activity feeds as in Facebook, Etsy, etc.

I wasn’t referring to RSS feeds. I mean activity feeds as in Facebook,
Etsy, etc.

Is this what you want to accomplish? He uses the public activity gem.

Hi guys,

I’m one of the authors of Feedly (python). So it does sound exactly like
what you’re looking for but in the wrong language :slight_smile:

The same team behind Feedly is also offering a hosted solution now
Have a look at the getting started,
We have client libraries available for Ruby, PHP, Python and Node.

Internally its using a highly optimized system with Cassandra. It will
be substantially cheaper than running your own Redis cluster. In
addition it’s currently in Beta, which means its free and comes with
free tech support :slight_smile:

In case you are looking for building your own solution have a look at
this article on highscalability:


require ‘simple-rss’
require ‘open-uri’

@health_and_science = SimpleRSS.parse
open(“Science : NPR”)
@health_and_science.entries.each do |f|
printf(“NPR Feed: %s %s\n”, f.pubDate.to_date, f.title)