Feb. 22, 2021
Here is the article.
I like to read better about websocket. So I put together some keywords.
- Websocket
- Keywords to look up later using Google:
- native support
- application gateway
- all gateway sizes
- websocket protocol - RFC6455
- a full duplex communication
- a server and a client - TCP connection - a long running
- bidiectional - without polling as required in HTTP-based implementations
- low overhead
- unlike httP
- REUSE THE same TCP connection for multiple request/ responses
- more efficient utilization of resources
- HTTP post 90 and 443 - webSocket protocols
- backend server - the websocket enabled
- in apps - fast, real-time communication, such as chat, dashboard, and game apps
Application Gateway provides native support for WebSocket across all gateway sizes. There is no user-configurable setting to selectively enable or disable WebSocket support.
WebSocket protocol standardized in RFC6455 enables a full duplex communication between a server and a client over a long running TCP connection. This feature allows for a more interactive communication between the web server and the client, which can be bidirectional without the need for polling as required in HTTP-based implementations. WebSocket has low overhead unlike HTTP and can reuse the same TCP connection for multiple request/responses resulting in a more efficient utilization of resources. WebSocket protocols are designed to work over traditional HTTP ports of 80 and 443.
You can continue using a standard HTTP listener on port 80 or 443 to receive WebSocket traffic. WebSocket traffic is then directed to the WebSocket enabled backend server using the appropriate backend pool as specified in application gateway rules. The backend server must respond to the application gateway probes, which are described in the health probe overview section. Application gateway health probes are HTTP/HTTPS only. Each backend server must respond to HTTP probes for application gateway to route WebSocket traffic to the server.
It's used in apps that benefit from fast, real-time communication, such as chat, dashboard, and game apps.
No comments:
Post a Comment