We're getting reports from some players of extreme lag in our main menu scene -- so bad that it takes 5 minutes before then can start/load a game. We're trying to figure it out, and one clue is that these players have 100 or more messages in their combu account. Could that be the cause? Is there any way to improve/optimize that?
thanks
Dave
It sounds strange unless you're continuously retrieving it over time (or while it's still loading), but we cannot figure it out without knowing anything of your code or app logic and how you're using it. If your issue is on the number of messages then you could load lesser per page (100 messages per page is very huge, I would suggest it around 10-15 per page or eventually implement a progressing/async load logic).
Another possible bottleneck could be the amount of customData you're storing for each player, since it affects the response output length of every class that has a User object as child (like Mail where you have the reference to both sender and recipient, even worse in group messages). A workaround to this could be to create an add-on that would filter out some customData, currently through custom add-on scripting you can already filter incoming and outgoing account customData but it should be probably extended so that you can also add additional filters in individual section (Mail, Achievement, Leaderboard, etc). But usually this isn't a big issue.
FRANCESCO CROCETTI @ SKARED CREATIONS