Home > Back-end >  Tripartite interface, local debugging OK, put them on the server is very slow, may be the reason why
Tripartite interface, local debugging OK, put them on the server is very slow, may be the reason why

Time:12-26

Today a very wonderful work problems

Scenario is that the three parties call an interface, parameter have to pass the File type, local debugging all OK, return is 1 seconds, but deployed on Linux server test environment, call back slowly, when more than ten seconds to return to, ping the IP of the other party, directly on a Linux machine corresponding time no problem, use the test tool checked, machine uploads and downloads is also good, even outside the net

Will be related to the File type? Because in the other pure json interface, return is a millisecond

CodePudding user response:

File is through what agreement transfer, over HTTP? The file how to deal with it? Storage directory for the user whether to have write permission
  • Related