You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A story is an event that happened within the network which consist of one or more actors and a action.
Some examples could be
User A follows User B
User A mentions User B
User A stars a project
User A posts a message
User A starts a discussion
User A joined network
These are currently available event types.
Whenever a feed is requested, the feed will be populated from the available stories.
Cassandra DB will contain the story object with the following fields
classStory(MBase):
# a generated idid=columns.BigInt(primary_key=True)
# the grand master of the event; who created it.actor=columns.Integer(partition_key=True)
# event typetype=columns.Integer(required=True)
# Could be any of these: discussion_id, user_id, project_id, message_idtarget=columns.BigInt()
# extra values get into the map.payload=columns.Map(columns.Ascii, columns.Ascii)
created_at=columns.BigInt()
Stories will be populated into user streams via push model. Whenever a story is created, all the followers of the actor(creator) will receive the story-id into their feed.
[X] Post a message
[X] Upvote a message
[X] Follow user