HTTP Requests VS Websockets?

Wasanni

  • *
  • Posts: 127
Would both methods be good for a turn based game?


I know that websockets provide more of a "real-time" experience but that's not very important to me. I just want to make sure my server doesn't crash with all the HTTP Requests (assuming my game is moderately popular). Currently testing on a basic webserver.

The issue with websockets is that I don't think it is supported by Stencyl and the Extension seems old. I would be concerned that support for the extension is dropped... Does anyone have any insight that might help me make a decision when it comes to online turn based? Thanks  :)

« Last Edit: January 12, 2020, 01:39:22 pm by Wasanni »


jukov

  • Posts: 7
To reduce the load on the server, it is better to use ws.

Wasanni

  • *
  • Posts: 127
Thanks for the link! Hadn't seen this yet, looks very interesting. Definitely going to look into it! Much appreciated!