Why do I upload files faster with webservice than with csp?
The soap protocol used by webservice has to go through http protocol. csp directly handles http, no xml encapsulation, so it should be faster.
After testing, for a 1M file, csp is about 0.1s slower. After the gateway connection to 1972, there is a stall of about 0.1s, not sure why.
Is there any way to make the file upload speed of csp faster than webservice?
webservice用的soap协议也得走http呀。csp直接处理http,少了xml的封装,按理来说应该更快。
经测试,1M的文件,csp慢了0.1s左右。在网关连接到1972后,有0.1s左右的停滞,不知道原因。