Hello HN fellows - I've "the next best idea" since sliced bread... on how to write a commenting system similar to disqus, spot.im, except better. Would you use an RDBMS (e. g. postgres) or a graph database (e. g. neo4j) to model the conversation threads? I may also want to enable commenters to insert emojis, a very limited subset of html for external links and font styling. It has to scale to tens, possibly hundreds of thousands of simultaneous users, most of which will be posting relatively short payloads via http(s) as comments are almost always limited in length.
Reason I ask is I've heard certain commenting systems use a graph database and others an RDBMS. I've zero experience building commenting systems with either.
Thank you.
> It has to scale to tens, possibly hundreds of thousands of simultaneous users
My suggestion : just use a database you are familiar with and start building. Most comment systems use a rdbms, so that's a safe bet. Use a graph database only if you find a strong technical reason to do so, not because another company is using it.