Design Architecture


I am looking to develop and blogging site where users can write blogs and others can comment on it. I am going to use couch-base for this project. The question I have in mind is that should I store the blogs( the text of the blog, other details stored in couch-base db) in the couch-base itself or as text files. I know its an architecture problem and can be solved in varied ways. But I wanted to know the best way or otherwise the pros and cons of both.


As long as you do not have thousands of comments you should be ok.

{ "type":"blog post", "title":"SEO Title Post", "Author":"Jim", "Content":" html here of post ", "Comments":[ {"DateTime":"2013-11-09 17:15:01","Content":"Great Post"}, {"DateTime":"2013-11-03 10:29:44","Content":"Do you have Links"}, ] }