I have such a network structure : There is a person, there are his relatives and relatives of his relatives. I need to do queries in this network like bring the ones older than 30 years old or show the relationship with Jason and Anna. And every person in the network has a list of their relatives as a property.
All of the network information is stored in a non-graph database. So would I have a better performance if I once generate whole network to a json file and then query the JSON file in the front end instead of sending the query to the database and then getting the result? Thanks in advance.