Hello, I have a big problem that I submit here.
I developed a quiz game that is played simultaneously.
Players use their smartphone to answer questions in real time
To let players know that a question is started by the game host, they make a read data requests every second to detect the start :
var x = setInterval(function() {
wixData.query("QUIZ")
.eq("game", game)
.find()
.then( (results) => {
if(results.items.length > 0) {
let item = results.items[0];
if (item.start === "ok"){
question()
}
}
}
}, 1000);
The big problem is quotas on data requests : Read: 3000 / minute
If I have only 50 players on the game who each access the database every second I have 50*60 = 3000 Find API functions / minute and everything crashes
Do you think there is another solution ?
Thank you in advance