GithubHelp home page GithubHelp logo

isabella232 / msgraph-training-optimize-network-traffic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoftgraph/msgraph-training-optimize-network-traffic

0.0 0.0 0.0 8.25 MB

License: MIT License

msgraph-training-optimize-network-traffic's Introduction

Microsoft Graph Training Module - Optimize Network Traffic with Microsoft Graph

Learn how Microsoft Graph uses throttling to maintain service health and how address this feature when creating applications.

This module is also published as a Microsoft Learn module: Optimize Network Traffic with Microsoft Graph

Lab - Optimize Network Traffic with Microsoft Graph

The lab for this module is available in multiple units within the associated Microsoft Learn module. Use the following links to jump to the specific unit. Each Microsoft Learn unit represents a different lab exercise & demo in the presentation.

  1. Exercise: Understand throttling in Microsoft Graph

    In this exercise, you will create a new Azure AD web application registration using the Azure Active Directory admin center, a .NET Core console application and query the Microsoft Graph. You will issue many requests in parallel to trigger your requests to be throttled. This will allow you to see the response you will receive.

  2. Exercise: Avoid throttling & implement throttling strategies

    In this exercise, you'll use the Azure AD application and .NET console application you previously created and modify them to demonstrate two strategies to account for throttling in your application. One strategy used the HttpClient object but required you to implement the detect, delay and retry logic yourself when requests were throttled. The other strategy used the Microsoft Graph SDKs included support for handling this same scenario.

  3. Exercise: Eliminate polling Microsoft Graph with delta query

    In this exercise, you'll use the Graph Explorer to create and issue a single request that contains multiple child requests. This batching of requests enables developers to submit multiple requests in a single round-trip request to Microsoft Graph, creating more optimized queries.

Demos

  1. Understand throttling in Microsoft Graph
  2. Avoid throttling & implement throttling strategies
  3. Eliminate polling Microsoft Graph with delta query

Watch the module

This module has been recorded and is available in the Office Development YouTube channel: Optimize Network Traffic with Microsoft Graph

Contributors

Roles Author(s)
Lab / Slides / Demos Andrew Connell (Microsoft MVP, Voitanos) @andrewconnell
QA Rob Windsor (Microsoft MVP, PAIT Group) @rob-windsor
Sponsor / Support Jeremy Thake (Microsoft) @jthake

Version history

Version Date Comments
1.5 September 10, 2020 FY2021Q1 content refresh
1.4 June 11, 2020 FY2020Q4 content refresh
1.3 February 22, 2020 FY2020Q3 content refresh
1.2 December 9, 2019 FY2020Q2 content refresh
1.1 September 30, 2019 Add: copyright statement to code; screencast link, exercise links, MS Learn module link
1.0 September 11, 2019 New module published

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

msgraph-training-optimize-network-traffic's People

Contributors

andrewconnell avatar jasonjoh avatar jthake-msft avatar rob-windsor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.