T
T
tempick2020-11-13 19:55:07
Database
tempick, 2020-11-13 19:55:07

Where and how to store trees?

I had the following task: I want to make a bot that, depending on the selected option, will pop up the next question depending on the answer. Visually - like a tree. Moreover, so that you can easily make CRUD of this tree and more or less performance. In general, initially I designed it in the form of a directed graph, but when it came to implementation, the questions began:
1) How good is it to use RDBMS and, if so, how to build the architecture correctly?
2) I read about graph databases - they have some strange syntax, and they also mostly say that query performance leaves much to be desired. If you can give any advice on this, I'd be grateful.
3) Are there any best tree storage practices for large scale applications?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question