Answer the question
In order to leave comments, you need to log in
Which DBMS to choose for storing nested comments?
Good afternoon. I write a comment system on the site. Works on websockets. I use Nodejs on the server. I am writing the system using many examples of writing a simple chat in NodeJS.
But the comments themselves can be nested, and despite this, it is necessary that you can easily search for nested comments.
And also quickly select comments with any indentation (for pagination) with glued child comments.
I considered MongoDB, so in the same chat examples they offer this DBMS.
But I don’t know if it is suitable for my purposes, taking into account the nesting of documents.
Answer the question
In order to leave comments, you need to log in
Alternatively, ArangoDB. It supports SQL and can be graph or key-value.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question