https://blog.feathersjs.com/http-vs-websockets-a-performance-comparison-da2533f13a77
One HTTP request and response took a total of 282 bytes while the request and response websocket frames weighed in at a total of 54 bytes (31 bytes for the request message and 24 bytes for the response). This difference will be less significant for larger payloads however since the HTTP header size doesn’t change.
0 commenti