Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


%%%	feedchat - chat in valid RSS format
%%%	http://ocaokgbu.blogspot.com/2009/08/feedchat-chat-in-valid-rss-format.html
%%%	This is inspired by the sample code of chat server from "Programming Erlang" by Joe Armstrong
%%%	Chat Server -> as the sample is
%%%	feed view -> tail -N of feed history
%%%	           or,   tail -f -N =:= friendfeed
%%%	chat server process : implemented by CouchDB
%%%	    RSS entry = document
%%%	    DB = history (w/ time stamp)
%%%	this is cheapest implementation of friendfeed
%%%	Map-Reduce (query against CouchDB) view point
%%%	    Map : crunch feed via XMPP or Pubsubhubbub...
%%%	    Reduce: tail -N of (feed history)
%%%	    Reduce: tail -f -N of (feed history)

as a virtual micro-blog

User			View								CouchDB
			POST(as RSS(Service, User, Contents))
													RSS document

key is how to implement View layer to scale