Is streama ready for production?

58 views
Skip to first unread message

hadees

unread,
Sep 20, 2012, 8:42:21 PM9/20/12
to str...@googlegroups.com
I'm interested in using streama for a project but I seem to recall you saying you were thinking about making changes that would break the current schema or something. I can't find the quote.  I'm just wondering if you think it is good enough to use on a production site.  It isn't a super important site (yet) and we only have a handful of users.

Thanks

Christos Pappas

unread,
Sep 20, 2012, 8:57:51 PM9/20/12
to str...@googlegroups.com
It should be okay to use for small sites, i'm using it in production. Just don't try build Twitter with it :)

The main issue when scaling is you wont be able to shard by a users feed, to do that you'd have to duplicate each activity item for every receiving user.

I don't think i'll be making any breaking changes to the schema. If you're interested in a more scalable version there is a fork, however it will increase the number of documents in your db.

hadees

unread,
Sep 20, 2012, 9:22:16 PM9/20/12
to str...@googlegroups.com
Thanks for the quick reply.  While I have your attention I have some questions about verbs too.

A couple of the verbs I'm going to have are :comment and :mention.  

How would you model :comments?  in the activitystrea.ms they have inReplyTo.  In my code replies will always be to something like a post.

How would you model a :mention.  I'm defining that as when a user is mentioned in another post like @username.  In this case I don't think I want to show mentions on the actors timeline, only the targets.

As of now I guess I'm using streams more like just notifications.  Maybe that isn't the right tool for the job?  What do you think.

Thanks
Reply all
Reply to author
Forward
0 new messages