I am looking for ways to speed up this process: I have a sign up process that captures quite a bit of user data, like multiple personal interests and hobbies. There is a main dataset for user information and separate datasets for interests and hobbies. As I am interested in finding out how many users have what interests and hobbies, during the sign up process, I use insert reference API to get the hobbies and interests id inserted into the main database. However that significantly slows down the loading time as when a user chooses the interests and hobbies from the dropdown menu, it first check the ids of the chosen hobbies and interests, then insert them into the main database as reference. Multiple promises need to be completed before the next page will load. And it's not great when it comes to speed, pretty slow.
Can any one suggest a better way to complete this process?