I already have implemented JOOQ with Union Platform as a java based game server and using Union Platform's Orbiter Micro (Union JS Client) for running it on a browser.
However, event with small 30-40 active players in the game, the Union Platform is lagging in terms of speed.
For each game instance (i.e each room) , i have configured one factory connection which executes all the queries. What it does is ,
For each player's turn,
player can put in an integer and after a series (4 queries) of condition checks, it inserts/updates the db via JOOQ
and then to get back the integer's status, it again executes 3 queries which effectively translates into 3 linked-hashmaps for updating the status of the game.
Now, the response is taking so much time, that players are seeing performance issues. While Union Platform actually claims to handle more than 1000 active players at an instance easily. So this effectively means that there is some mistakes in my JOOQ queries (I did used a lot of LEFT OUTER JOINs).
So any suggestion to improve the throughput and to profile each query is very much welcome.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)