Office 365 REST API的响应时间差 [英] Poor response times office 365 REST API

查看:102
本文介绍了Office 365 REST API的响应时间差的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用新的Office REST API来访问Exchange数据,这些API的行为符合预期,但是请求的响应时间变化很大.

I'm using the new office REST APIs in order to access Exchange data, the APIs are behaving as expected however the response times of the requests are hugely variable.

下面是记录30个请求的时间记录,每个请求之间的间隔为10秒(所有请求返回相同的数据):

Below are the times recorder over 30 requests with a 10 second interval between each (all requests return the same data):

I: Polling request time: 33428ms
I: Polling request time: 35979ms
I: Polling request time: 5247ms
I: Polling request time: 28293ms
I: Polling request time: 5362ms
I: Polling request time: 5556ms
I: Polling request time: 5495ms
I: Polling request time: 27744ms
I: Polling request time: 1161ms
I: Polling request time: 34227ms
I: Polling request time: 865ms
I: Polling request time: 32169ms
I: Polling request time: 542ms
I: Polling request time: 5872ms
I: Polling request time: 641ms
I: Polling request time: 29248ms
I: Polling request time: 4756ms
I: Polling request time: 27813ms
I: Polling request time: 8048ms
I: Polling request time: 28107ms
I: Polling request time: 934ms
I: Polling request time: 29112ms
I: Polling request time: 29216ms
I: Polling request time: 5511ms
I: Polling request time: 1805ms
I: Polling request time: 33739ms
I: Polling request time: 8836ms
I: Polling request time: 1466ms
I: Polling request time: 31531ms
I: Polling request time: 30088ms
I: Polling request time: 333ms
I: Polling request time: 6271ms
I: Polling request time: 1670ms

平均时间::16.4秒- 最长时间: 35.9秒

Average time: 16.4 seconds - Maximum time: 35.9 seconds

有时请求超时.

这是一个已知问题吗,预计响应时间会有所改善吗?其他人是否经历过较差的响应时间?

Is this a known issue and are the response times expected to improve? Has anyone else experienced poor response times?

谢谢, 尼克

推荐答案

感谢您的邮件和详细的测试结果!这是一个已知问题,会影响我们的REST API端点 https://outlook.office365.com/api/v1 .0 ,并将在今年年底前进行修复.临时的解决方法是使用我们的Preview端点 https://outlook.office365.com/EWS/ODATA/,因为此预览端点不受同一问题的影响.

Thanks for your mail and the detailed test results! This is a known issue impacting our REST API endpoint https://outlook.office365.com/api/v1.0 and a fix is on its way by end of year. A temporary workaround is to use our Preview endpoint https://outlook.office365.com/EWS/ODATA/ as this preview endpoint isn't impacted by the same issue.

对于给您带来的不便,我们再次表示抱歉,如果您看到 https://以及Outlook.office365.com/EWS/ODATA/.

Sorry again for the inconvenience and please let me know if you see the latency spikes with https://outlook.office365.com/EWS/ODATA/ as well.

谢谢, 文卡特

这篇关于Office 365 REST API的响应时间差的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆