Skip to content

Commit bf44bbc

Browse files
authored
Merge pull request #234859 from gourdsay/main
Throttling Event Grid and typo edits
2 parents 06ba463 + 21b9bf4 commit bf44bbc

12 files changed

+1611
-18
lines changed

articles/data-manager-for-agri/concepts-ingest-sensor-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ Gateways collect all essential data from the nodes and push it securely to the c
3434

3535
In addition to the above approach, IOT devices (sensors/nodes/gateway) can directly push the data to IOTHub endpoint. In both cases, the data first reaches the IOTHub, post that the next set of processing happens.
3636

37-
>:::image type="content" source="./media/sensor-data-flow-new.png" alt-text="Screenshot showing sensor data flow.":::
37+
:::image type="content" source="./media/sensor-data-flow-new.png" alt-text="Screenshot showing sensor data flow.":::
3838

3939
## Sensor topology
4040

4141
The following diagram depicts the topology of a sensor in Azure Data Manager for Agriculture. Each boundary under a party has a set of devices placed within it. A device can be either be a node or a gateway and each device has a set of sensors associated with it. Sensors send the recordings via gateway to the cloud. Sensors are tagged with GPS coordinates helping in creating a geospatial time series for all measured data.
4242

43-
>:::image type="content" source="./media/sensor-topology-new.png" alt-text="Screenshot showing sensor topology.":::
43+
:::image type="content" source="./media/sensor-topology-new.png" alt-text="Screenshot showing sensor topology.":::
4444

4545
## Next steps
4646

articles/data-manager-for-agri/concepts-isv-solutions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The agriculture industry is going through a significant technology transformatio
2323

2424
The solution framework is built on top of Data Manager for Agriculture that provides extensibility capabilities. It enables our Independent Software Vendor (ISV) partners to apply their deep domain knowledge and develop specialized domain specific industry solutions to top of the core platform. The solution framework provides below capabilities:
2525

26-
>:::image type="content" source="./media/solution-framework-isv-1.png" alt-text="Screenshot showing ISV solution framework.":::
26+
:::image type="content" source="./media/solution-framework-isv-1.png" alt-text="Screenshot showing ISV solution framework.":::
2727

2828
* Enables ISV Partners to easily build industry specific solutions to top of Data Manager for Agriculture.
2929
* Helps ISVs generate revenue by monetizing their solution and publishing it on the Azure Marketplace* Provides simplified onboarding experience for ISV Partners and customers.
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: API throttling guidance for customers using Azure Data Manager for Agriculture.
3+
description: Provides information on API throttling limits to plan usage.
4+
author: gourdsay
5+
ms.author: angour
6+
ms.service: data-manager-for-agri
7+
ms.topic: conceptual
8+
ms.date: 04/18/2023
9+
ms.custom: template-concept
10+
---
11+
12+
# API throttling guidance for Azure Data Manager for Agriculture.
13+
14+
The API throttling in Azure Data Manager for Agriculture allows more consistent performance within a time span for customers calling our service APIs. Throttling limits, the number of requests to our service in a time span to prevent overuse of resources. Azure Data Manager for Agriculture is designed to handle a high volume of requests, if an overwhelming number of requests occur by few customers, throttling helps maintain optimal performance and reliability for all customers.
15+
16+
Throttling limits vary based on product type and capabilities being used. Currently we have two versions, standard and basic (for your POC needs).
17+
18+
## DPS API limits
19+
20+
Throttling category | Units available per Standard version| Units available per Basic version |
21+
|:------|:------|:------|
22+
Per Minute | 25,000 | 25,000 |
23+
Per 5 Minutes| 100,000| 100,000 |
24+
Per Month| 25,000,000| 5,000,000|
25+
26+
### Maximum requests allowed per type for standard version
27+
API Type| Per minute| Per 5 minutes| Per month|
28+
|:------|:------|:------|:------|
29+
PUT |5,000 |20,000 |5,000,000
30+
PATCH |5,000 |20,000 |5,000,000
31+
POST |5,000 |20,000 |5,000,000
32+
DELETE |5,000 |20,000 |5,000,000
33+
GET (single object) |25,000 |100,000 |25,000,000
34+
LIST with paginated response |25,000 results |100,000 results |25,000,000 results
35+
36+
### Maximum requests allowed per type for basic version
37+
API Type| Per minute| Per 5 minutes| Per month|
38+
|:------|:------|:------|:------|
39+
PUT |5,000 |20,000 |1,000,000
40+
PATCH |5,000 |20,000 |1,000,000
41+
POST |5,000 |20,000 |1,000,000
42+
DELETE |5,000 |20,000 |1,000,000
43+
GET (single object) |25,000 |100,000 |5,000,000
44+
LIST with paginated response |25,000 results |100,000 results |5,000,000 results
45+
46+
### Throttling cost by API type
47+
API Type| Cost per request|
48+
|:------|:------:|
49+
PUT |5
50+
PATCH |5
51+
POST |5
52+
DELETE |5
53+
GET (single object) |1
54+
GET Sensor Events |1 + 0.01 per result
55+
LIST with paginated response |1 per request + 1 per result
56+
57+
## Jobs create limits per instance of our service
58+
The maximum queue size for each job type is 10,000.
59+
60+
### Total units available
61+
Throttling category| Units available per Standard version| Units available per Basic version|
62+
|:------|:------|:------|
63+
Per 5 Minutes |1,000 |1,000
64+
Per Month |1,000,000 |200,000
65+
66+
67+
### Maximum create job requests allowed for standard version
68+
Job Type| Per 5 mins| Per month|
69+
|:------|:------|:------|
70+
Cascade delete| 1,000| 500,000
71+
Satellite| 1,000| 500,000
72+
Model inference| 200| 100,000
73+
Farm Operation| 200| 100,000
74+
Rasterize| 500| 250,000
75+
Weather| 500| 250,000
76+
77+
78+
### Maximum create job requests allowed for basic version
79+
Job Type| Per 5 mins| Per month
80+
|:------|:------|:------|
81+
Cascade delete| 1,000| 100,000
82+
Satellite| 1,000| 100,000
83+
Model inference| 200| 20,000
84+
Farm Operation| 200| 20,000
85+
Rasterize| 500| 50,000
86+
Weather| 500| 50,000
87+
88+
### Sensor events limits
89+
100,000 event ingestion per hour by our sensor job.
90+
91+
## Error code
92+
When you reach the limit, you receive the HTTP status code **429 Too many requests**. The response includes a **Retry-After** value, which specifies the number of seconds your application should wait (or sleep) before sending the next request. If you send a request before the retry value has elapsed, your request isn't processed and a new retry value is returned.
93+
94+
After waiting for specified time, you can also close and reopen your connection to Azure Data Manager for Agriculture.
95+
96+
## Next steps
97+
* See the Hierarchy Model and learn how to create and organize your agriculture data [here](./concepts-hierarchy-model.md).
98+
* Understand our APIs [here](/rest/api/data-manager-for-agri).

articles/data-manager-for-agri/how-to-set-up-isv-solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Once you've installed an ISV solution from Azure portal, use this document to un
1515

1616
A high level view of how you can create a new request and get responses from the ISV partners solution:
1717

18-
>:::image type="content" source="./media/3p-solutions-new.png" alt-text="Screenshot showing access flow for ISV API.":::
18+
:::image type="content" source="./media/3p-solutions-new.png" alt-text="Screenshot showing access flow for ISV API.":::
1919

2020
* Step 1: You make an API call for a PUT request with the required parameters (for example Job ID, Farm details)
2121
* The Data Manager API receives this request and authenticates it. If the request is invalid, you'll get an error code back.

articles/data-manager-for-agri/how-to-set-up-sensors-customer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To start using the on-boarded sensor partners, you need to give consent to the s
2929

3030
5. Now, look for `Davis Instruments WeatherLink Data Manager for Agriculture Connector` under All Applications tab in `App Registrations` page (illustrated with a generic Partner in the image).
3131

32-
>:::image type="content" source="./media/sensor-partners.png" alt-text="Screenshot showing the partners message.":::
32+
:::image type="content" source="./media/sensor-partners.png" alt-text="Screenshot showing the partners message.":::
3333

3434
6. Copy the Application (client) ID for the specific partner app that you want to provide access to.
3535

@@ -44,7 +44,7 @@ Log in to <a href="https://portal.azure.com" target=" blank">Azure portal</a> an
4444
4545
You find the IAM (Identity Access Management) menu option on the left hand side of the option pane as shown in the image:
4646

47-
>:::image type="content" source="./media/role-assignment-1.png" alt-text="Screenshot showing role assignment.":::
47+
:::image type="content" source="./media/role-assignment-1.png" alt-text="Screenshot showing role assignment.":::
4848

4949
Click **Add > Add role assignment**, this action opens up a pane on the right side of the portal, choose the role from the dropdown:
5050

@@ -60,7 +60,7 @@ To complete the role assignment, do the following steps:
6060

6161
4. Click **Save** to assign the role.
6262

63-
>:::image type="content" source="./media/sensor-partner-role.png" alt-text="Screenshot showing app selection for authorization.":::
63+
:::image type="content" source="./media/sensor-partner-role.png" alt-text="Screenshot showing app selection for authorization.":::
6464

6565
This step ensures that the sensor partner app has been granted access (based on the role assigned) to Azure Data Manager for Agriculture Resource.
6666

articles/data-manager-for-agri/how-to-set-up-sensors-partner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The below section of this document talks about the onboarding steps needed to in
1717

1818
Onboarding covers the steps required by both customers & partners to integrate with Data Manager for Agriculture and start receiving/sending sensor telemetry respectively.
1919

20-
>:::image type="content" source="./media/sensor-partners-flow.png" alt-text="Screenshot showing sensor partners flow.":::
20+
:::image type="content" source="./media/sensor-partners-flow.png" alt-text="Screenshot showing sensor partners flow.":::
2121

2222
From the above figure, the blocks highlighted in white are the steps taken by a partner, and the ones highlighted in black are done by customers.
2323

0 commit comments

Comments
 (0)