When APIs that are created and encapsulated in DataService Studio are called by an external application, you must use exclusive resource groups for DataService Studio to ensure high queries per second (QPS) and availability. Exclusive resource groups for DataService Studio help you call APIs in an efficient and reliable manner. Exclusive resource groups for DataService Studio provide dedicated computing resources and isolated network environments. This improves the processing efficiency of highly parallel API calls, ensures efficient and agile responses, and achieves secure and stable data sharing. This topic describes the performance metrics, billing, and usage of exclusive resource groups for DataService Studio.
Scenarios
Highly concurrent, frequent API calls are made in DataService Studio, and fast responses are required.
You want to adjust the size of resource groups.
You want to access data sources that are deployed on the Internet, in Alibaba Cloud virtual private clouds (VPCs), or in data centers.
Limits
An exclusive resource group for DataService Studio is charged based on the subscription billing method. You cannot delete or release an exclusive resource group for DataService Studio before the resource group expires. An exclusive resource group for DataService Studio is suspended and released at the specified points in time after it expires.
Exclusive resource groups for DataService Studio are available only in the China (Shanghai) and China (Hong Kong) regions.
Performance metrics
Resource group specifications | Maximum QPS1 | SLA | Supported region |
api.s1.small | 500 | 99.95% |
|
api.s1.medium | 1000 | 99.95% | |
api.s1.large | 2000 | 99.95% |
Note1: The maximum queries per second (QPS) for exclusive resource groups is calculated based on actual business scenarios. You can estimate the QPS threshold by using the following information:
Whether to generate an API in script mode.
Whether the pagination feature is enabled for an API call so that the returned results are displayed on multiple pages.
The average runtime of SQL statements configured for an API call is 100 milliseconds in a data source.
The average size of data returned by a single API call is 3,000 bytes.
If your business scenario is different from the preceding scenario, join the DataWorks DingTalk group to obtain the appropriate specifications that suit your business scenarios.
Billing and related operations
If you want to obtain professional pre-sales purchase guide, you can refer to Purchase guide. You can also scan the following QR code to join the DataWorks DingTalk group to contact pre-sales personnel.
1. Billing rules
Exclusive resource groups for DataService Studio are charged based on the subscription billing method. You can purchase exclusive resources with appropriate specifications for your exclusive resource group for DataService Studio based on your business requirements. For more information, see Billing of exclusive resource groups for DataService Studio (subscription).
2. Specifications change (upgrade)
You can upgrade the specifications of each exclusive resource group for DataService Studio in the DataWorks console based on your business requirements. You need to only pay for the added resources that are used from the time you scale up the resource group to the time the original order expires. For more information, see Change the specifications of a resource group.
A specifications upgrade does not increase the number of resource groups but upgrades only the specifications of resources in a resource group based on your order.
After you perform a specifications upgrade for resources in your resource group, the new configuration takes effect within 10 minutes after you pay for your order.
3. Renewal, suspension, and release of an exclusive resource group for DataService Studio
You can renew an exclusive resource group for DataService Studio when the resource group is about to expire. If you do not renew the resource group before it expires, the resource group is suspended upon expiration and automatically released. For more information, see Expiration and renewal.
Use an exclusive resource group for DataService Studio
After you understand the billing details of exclusive resource groups for DataService Studio, you can purchase an exclusive resource group for DataService Studio based on your business requirements. To purchase and use an exclusive resource group for DataService Studio, perform the following steps:
Create an exclusive resource group for DataService Studio.
Associate the exclusive resource group for DataService Studio with a workspace.
Configure network connectivity, including whitelist configuration for data sources.
Use the exclusive resource group for DataService Studio.
For more information, see Create and use an exclusive resource group for DataService Studio.
Network connectivity solutions
When API call requests are initiated, the requests are sent to servers of DataService Studio and then to specific data sources for data queries. Therefore, you must ensure the connectivity between the exclusive resource group for DataService Studio and the data sources that are deployed in different network environments. Exclusive resource groups for DataService Studio can access data sources that are deployed on the Internet, in Alibaba Cloud VPCs, or in data centers. You need to add IP addresses or CIDR blocks that are used by the exclusive resource groups for DataService Studio to the whitelists of the data sources. For information about network connectivity solutions in different scenarios, see Configure network connectivity.