Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Question about use case #9

Open
codezomb opened this issue Nov 6, 2011 · 1 comment
Open

Question about use case #9

codezomb opened this issue Nov 6, 2011 · 1 comment

Comments

@codezomb
Copy link

codezomb commented Nov 6, 2011

I've been utilizing a gem called timeline_fu to collect events on certain models. This gem however, doesn't handle any returns of the data, and I've had to write a ridiculous query to fetch it all in the manner I need it. I've got a use case like the following:

News Feed Example:

Mike Uploaded 2 Images: - 30 seconds ago
   <thumbnail> <thumbnail>

Joe Added Sue to the Project - 5 minutes ago

Joe Uploaded 15 images: - 5 minutes ago
  <thumbnail> <thumbnail> <etc...>

Joe Added Mike to the Project - Yesterday

Each event is it's own record, and each image in an event it's also it's own record. Currently, I have to run a very nasty query to merge things like upload events per user to a single feed item. My question is, does chronologic handle anything like this, or, if not would it be worth trying to add it in as opposed to crazy database vendor specific sql queries?

@therealadam
Copy link
Contributor

Chronologic is well suited to getting around the issue you mentioned where you need a gnarly query to fetch streams of heterogenous data. That said, Chronologic strongly depends on Cassandra right now, so it takes a bit of work to set up for production deploys. I'm working on breaking that dependency right now. Interested in writing a backend for your database of choice?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants