Page 1 of 1

Asynchronous calls to Playground Sessions Server

Posted: Sun Aug 18, 2019 8:35 pm
by peter
Hi there,

There are a number of instances where the UI is performing noticeably poorly when the callbacks to your playground sessions server lags. This will primarily be because of poor internet connections, congestion and latency from traffic coming from the other side of the world.
I expect that this is not visible for you in your in-house testing unless you have tested it with bandwidth throttling.

The specific areas where this is most annoying are:
1. Grading the song. There is a delay of 5 -> 10+ seconds at the end of playing a song or course. Specifically when doing bootcamp levels where the exercises are short and the user may need to do them over and over again. (There is a repeat function that skips the grading, but it would be nice if this wasn't necessary, and still needs to be turned off in order to be graded and move onto the next section)

2. Logging in and/or changing between rookie/moderate/advanced levels in bootcamp. This information should already be stored locally, so should be able to be displayed immediately (It's visible in offline mode). An asynchronous call could be fired off in the background to ensure that the list is up to date & consequently cause the UI to be updated.

Re: Asynchronous calls to Playground Sessions Server

Posted: Sun Aug 18, 2019 10:46 pm
by peter
Just wanted to add that related to this, Windows keeps reporting that the screen keeps going white and Windows reports that the "application is inactive" when switching between tabs. This is presumably because the application is using the UI thread to do the call to the server and therefore blocking the event queue from performing any updates until this is complete. If these call were done in the background, the UI could continue happily switching between whatever the user selects.

Re: Asynchronous calls to Playground Sessions Server

Posted: Mon Aug 19, 2019 2:26 pm
by andrewwegierski
Peter,

Thanks for the post. Could you forward this information to support@playgroundsessions.com?

There i'll be able to forward it directly to a developer.

Re: Asynchronous calls to Playground Sessions Server

Posted: Mon Aug 19, 2019 7:36 pm
by peter
Done, thanks. :)