Im using core Android and node.js backend. I had an HTTP POST API to send user's location to server.
Since I had to frequently update the user location to server for more than 30 minutes, I'm changing the API to better use a WebSocket.
I wanted to know a few things.
What is the impact of using WebSocket on battery life of Android phone? Does it drain more battery?
Does WebSocket use more internet bandwidth compared to HTTP?
Does WebSocket use more RAM both on Android and backend server?