In a scenario where a web application needs real-time updates, how should RESTful services be implemented to support this?

  • Implementing long polling
  • Increasing polling frequency
  • Using WebSocket for bidirectional communication
  • Utilizing email notifications
Real-time updates in a web application are best achieved by using WebSocket, as it allows bidirectional communication between the client and server in a low-latency manner.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *