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.
Loading...
Related Quiz
- For a service experiencing intermittent errors, _______ testing is crucial for identifying the problem.
- Which format is typically more lightweight and used in RESTful web services?
- In web security, XSS stands for what?
- In integration testing, _______ is used to validate the interaction between different layers of a web application.
- For a global e-commerce business, which trend in web services would be most beneficial for handling international traffic and user experience?