Hi all,

*Participants*
Sanjiva, Srinath, Ruchira, ManjulaR, Manu, UdaraR

For the next version of the social framework we are going to focus mainly
on the wall concept based on our AppFactory use case. Wall is basically a
set of activities grouped by similar interests.

*TODO*

   - Pagination support
   - Nested activity support
   - APP/User wall support
   - Handle multi tenancy
   - Multiple activity types
   - Real time activity feed support

*Implementation*

Pagination support : Since and LIMIT parameters will be used to implement
the pagination support.

Nested activity support : Standard terms will be used as it's defined by
the Activity Stream specification[1] for this purpose.

App/User wall : Actor secondary index will be introduced to implement the
user wall.

Handle multi tenancy : There are multiple ways to achieve this.

   1. Create key-space per tenant.
   2. Store activities in a single key-space with proper tenant aware
   secondary index.

Since we are hosting our social-app within the space of super-tenant, we
will stick to the second model.
Multiple activity types: For the moment we will focus on the wall with
existing activity types.
 But we will improve our front-end to identify activity type based on the
user input/content.

Real time activity feed support: We have to evaluate the capability of
existing transports (socket.io with fallback options) with our ELB first.

*Improvements*

Remove existing asset type prefix from current implementation and stick to
the UUID.

Eg:- As the secondary index we store something similar to this at the
moment.
gadget:a841f975-9cb8-40bd-bb19-44bed150867f

*Future*
If particular user story doesn't need the big data approach, we should
provide them a mechanism to use relational database also.

I'm currently working on a scalable data model with proper indexing etc.
Will update all once its done.

Please add if I have missed anything here.

[1] http://activitystrea.ms/specs/json/1.0/

-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog    : http://udarakr.blogspot.com
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to