Hi,
We are looking for consultation with someone with expertise in planning/architecting a database for a specific use case.
We are working on a project where we're trying to build a complex question and answer engine.
The format of questions and corresponding answers can be various. For example, it can be a set of multiple choice question, or it can be an input(text or other) from the user.
The next question can be branched depending upon the user response in the current question(and/or) a set of previousresponses.
The challenge is to store the logic for this complex branching, the set of previous responses the next question depends upon. We are trying to plan out an appropriate database design for the same.
Currently , we have chosen SQL as the database and using the ER-model to design the database. However, storing the complex logic for the branching of questions is becoming very complex. This made me question the whole approach.
We have given a thought about using NoSQL databases. However, we have to make complex analysis fro the data for which SQL seems to be the better alternative.
Is SQL the right choice for such a scenario. Is ER-model the right way to do it. If yes, then what factors should we keep in mind while implementing it so as to ensure integrity, consistency, and low latency for queries. How can we optimize the complex queries for such scenarios? What server configuration would be the most suitable one for the same.
If not, then what would be the best approach for this scenario. Are there already existing open source question and answer engines available which can be used?
If you think, you have a solution for a good architecture, we can get in touch.
About the recuiterMember since Nov 11, 2022 Bharat Jeswani
from Kano, Nigeria