HTTP Session Keepalive for Lower-Bandwidth REST Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The frequent establishment and disconnection of HTTP sessions in REST communication lead to network bandwidth congestion due to the use of many packets, which is inefficient and affects network performance.
Innovation Solution
A communication system that maintains HTTP sessions after REST communication ends by transmitting keepalive signals to the server, allowing response signals to be sent to the client while preserving the session.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If HTTP sessions are established and disconnected for each REST request, then the system follows REST communication standards and maintains session statelessness, but network bandwidth is consumed excessively due to repeated session establishment and disconnection packets
Solution Approach 1:
The communication apparatus establishes the HTTP session with the server in advance, before receiving the calling signal from the client apparatus. This preliminary session establishment allows subsequent REST requests to be processed without repeated session setup, reducing network bandwidth consumption while maintaining REST communication standards
Solution Approach 2:
The HTTP session is maintained in a continuous state between the communication apparatus and server, rather than being repeatedly established and disconnected. The session remains active during the period when multiple REST requests are processed, eliminating the need for repeated handshake packets and reducing network bandwidth usage
Data Source
AI summary
To provide a communication system adapted to reduce network bandwidth usage. The communication system according to the present disclosure includes a server (102) and a communication apparatus (101) for performing REST (Representational State Transfer) communication using an HTTP (Hypertext Transfer Protocol) session established with the server (102). The communication apparatus is (101) configured to transmit a keepalive signal to the server (102) after the REST communication that has been initiated based on a calling signal received from a client apparatus (105) ends and to transmit a response signal in response to the calling signal to the client apparatus (105) while maintaining the HTTP session.


