如何对 Azure 服务器进行并行调用,在客户端,我使用的是 Azure 移动服务 SDK。
我正在像下面这样调用服务器
[self.table pullWithQuery:query queryId:@"somename"] settings:pullsetting completion:^(NSError *error) {
// Let the caller know that we finished
dispatch_async(dispatch_get_main_queue(), ^{
completion(error);
});
}]
对于每个表/实体,我都像上面那样进行调用。 但是所有调用都由 Azure 串行执行。
有什么办法可以让它并行吗?
最佳答案
不,我们不能使用 azure SDK 发出并行请求。当您调用 pullWithQuery
方法时,Azure 框架会在内部将该操作添加到串行队列中。这是验证 azure 框架实现文件的链接:
https://github.com/Azure/azure-mobile-services
关于ios - 使用Azure移动服务sdk在iOS中并行调用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44946192/