简体   繁体   English

MS 图表日历 API | 订阅用户日历 | 并行创建 100 个或更多会议时缺少 50% 的会议通知

[英]MS Graph Calendar API | Subscribed users calendar | 50% meeting notification missing when create 100 or more meetings in parallel

I am using MS Graph API to subscribe users calendar for meeting notifications.我正在使用 MS Graph API 订阅用户日历以获取会议通知。 There is no issue with few meetings for multiple users but when we run our load test with 100 meetings then there were lots of missing booking notifications.多个用户的少数会议没有问题,但是当我们对 100 个会议进行负载测试时,会出现很多丢失的预订通知。

For better understanding, I m adding a few steps to verify:为了更好地理解,我添加了几个步骤来验证:

  1. Deploy an Event Hub for exchange notifications as per Microsoft Document .根据Microsoft Document部署事件中心以交换通知。 I have tried both Event Hub and an azure function for verification.我已经尝试过事件中心和 azure function 进行验证。
  2. Subscribe user calendar with the above URL as notification URL using Graph Subscription API POST .使用Graph Subscription API POST使用上述 URL 作为通知 URL 订阅用户日历。
  3. Run 100 meeting load test where we are creating an outlook meeting from graph API on the subscribed user calendar.运行 100 次会议负载测试,我们正在订阅用户日历上从图表 API 创建 outlook 会议。

I have run a different load with 2 users and the result is below:我用 2 个用户运行了不同的负载,结果如下:

在此处输入图像描述

So my question is that, is there any kind of limitation in Graph Notification or any other issue!所以我的问题是,图形通知或任何其他问题是否有任何限制!

You are experiencing throttling.您正在经历节流。 According to Graph throttling guide for Outlook service , you can have up to 4 concurrent requested per user calendar.根据Outlook 服务的 Graph throttling guide ,每个用户日历最多可以有 4 个并发请求。 a large number of your requests are throttled, thus no events are created - no change notifications..您的大量请求被限制,因此没有创建事件 - 没有更改通知..

My recommendation:我的建议:

  1. Read through the throttling guide here then然后在此处阅读节流指南
  2. Run your load test with out reaching Graph because Graph will handle your load in production with reasonable throttling mechanism.在没有到达 Graph 的情况下运行负载测试,因为 Graph 将通过合理的节流机制处理生产中的负载。
  3. Run your load test using different user calendars such that the matrix is within the acceptable load on Graph使用不同的用户日历运行负载测试,使矩阵在 Graph 的可接受负载范围内

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 图 api 1.0 创建事件团队日历访问被拒绝 - graph api 1.0 create event team calendar access denied Microsoft graph API 创建在线会议或在线会议事件时的访问问题 - Microsoft graph API access problem when create online meeting or online meeting event 尝试从图形 API 获取日历时出现 Nopermissionsinaccess token 错误 - Nopermissionsinaccess token error when trying to get calendar from graph API 通过图表 API 读取 Azure AD 用户日历需要什么权限 - What permissions are needed to read the Azure AD users' calendar via Graph API 如何使用Graph API在Calendar Message中显示Calendar事件响应选项 - How to show Calendar event response options in Calendar Message with Graph API MS Graph API - 我可以在 B2C Active Directory 中读取用户但无法创建用户 - MS Graph API - I can read users in B2C Active Directory but cannot create users MS Graph Api 读取授予权限的用户 - MS Graph Api Read Users that gave permissions Microsoft Graph API 我无法访问我的日历 (ResourceNotFound) - Microsoft Graph API I can't access my calendar (ResourceNotFound) Microsoft Graph API 在 Outlook 日历上,无需检查内部私人事件 - Microsoft Graph API on Outlook calendar without checking inside private events 如何使用 Microsoft Graph API 和 java 为用户获取日历事件 - How to fetch calendar events for a user using Microsoft Graph API with java
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM