A
A
Alexey2018-09-27 15:14:36
Database
Alexey, 2018-09-27 15:14:36

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

2 answer(s)
X
xmoonlight, 2018-09-27
@xmoonlight

Any.

R
Roman Mirilaczvili, 2018-09-27
@2ord

Alternatively, ArangoDB. It supports SQL and can be graph or key-value.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question