Home > Net >  How to batch call API
How to batch call API

Time:05-13

In order to avoid a timeout, the other reason of limited interfaces need to support batch interface data batch calls,
Such as the size of the List parameters may be dozens or even hundreds of, but if the other interface is slow, we have 10000 string matching array, and spread to more than 1000 will timeout, so every time can be passed in 1000 and 10 batch execution, that way, there's no need to loop has what good?

CodePudding user response:

The Task -- -- -- -- -- -- --

CodePudding user response:

Paging? ZSBD

CodePudding user response:

refer to the original poster nitaiyoucala response:
in order to avoid a timeout, the other reason of limited interfaces need to support batch interface data batch calls,
Such as the size of the List parameters may be dozens or even hundreds of, but if the other interface is slow, we have 10000 string matching array, and spread to more than 1000 will timeout, so every time can be passed in 1000 and 10 batch execution, that way, there's no need to loop has what good?


No matter use what you call interface, 10 times was an unavoidable, as long as you in batches
  • Related