Hi All,

Currently in AF the FE (AF Wall) polls the BE (Social Component) to
identify and display notifications.

The method proposed below is for $subject. The PoC for $subject is as
follows.

*1) The curl client pushes data to the Java Echo Server (Hosted in WSO2 AS)
which then writes to the client browser through the web socket.* I have
attached a screen shot of a diagram showing the design. Nginx is used to
emphasize on load balancing and as a proxy.

2) With the completion of the above step then we move on to the next step
of *creating a listener for the Social API replacing the Java Echo Server*
and then port the code to AF.

3) One issue raised during discussion of $subject was the
*rendering of relevant content in a switch happening between two pages.*
For example, the curl client pushes msg1 to page1 and msg2 to page2.
During this switch the same web socket connection should be used rather
than restarting a new connection.

@Dimuthu and Manjula, Please let me know if I have missed anything and any
further opinions you have on $subject.
One clarification I require is that should the point mentioned in step 3 be
completed, after step 1 or after completion of steps 1 and 2.

Thanks in advance.

--
Sabra Ossen <http://lk.linkedin.com/in/sabraossen>
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to