Main

HTTP vs Sockets
View Full Image

HTTP vs Sockets

By cbranje on June 6, 2013

We are quickly approaching our first major user test of the Scooter Game, scheduled for the end of the summer. Our first test revealed some critical, show-stopping problems, that we have seem to have worked out now. One of the large issues in our last test was that fact that the game icons were not refreshing fast enough. You would need to move 10-15 paces before your icon on the map updated. This was occurring because we were using HTTP requests to pull down player information from the server and the requests were building up, causing a bottleneck and high CPU usage on the phones. We've now switched to sockets and in a recent test the game icons are moving nice and smoothly now, changing locations after only 2-3 paces. Onwards and upwards.

Tags: 

By cbranje

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Email addresses will be obfuscated in the page source to reduce the chances of being harvested by spammers.
  • Email addresses will be obfuscated in the page source to reduce the chances of being harvested by spammers.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.