I have been using firebase for different kind of projects with firestore. But, I have not used real-time database due to low concurrent connection and some factors. Firestore also have some limitation such as 10000 per second per database. When I compare firestore with realtime database, It is possible to manage high traffic with many databases using real-time database. I red different articles and stack overflow questions and they had mentioned use cloud task and cloud scheduler to mange write failures in firestore. However, My questions are,
Can I use cloud functions to create real-time databases?
How many real-time databases can be created per project? (I am going to create a database per user, If there 1 Million Users = 1 Million real-time databases)