Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App config] Perf tests #15763

Merged
20 commits merged into from
Jun 25, 2021
Merged

[App config] Perf tests #15763

20 commits merged into from
Jun 25, 2021

Conversation

HarshaNalluru
Copy link
Member

@HarshaNalluru HarshaNalluru commented Jun 16, 2021

Adds the list test

Closes #13981

@ghost ghost added the App Configuration Azure.ApplicationModel.Configuration label Jun 16, 2021
@HarshaNalluru HarshaNalluru marked this pull request as ready for review June 18, 2021 21:35
4. Run the tests as follows

- list settings
- `npm run perf-test:node -- ListSettingsTest --warmup 2 --duration 7 --iterations 2 --parallel 2`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this service rate-limited?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is throttling similar to Form recognizer or metrics advisor.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the operation is not a LRO, can you experiment with the number for the parallel param if the limit is not too bad?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The limit is 20,000 requests per hour, it is quite simple to hit the limit.
We'll soon get the proxy-tool so that we don't have to hit the live service all the time.

Copy link
Member

@richardpark-msft richardpark-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you and @deyaaeldeen have some other review feedback to sort out.

I think the code changes look good but something looks wrong about your pnpm-lock changes.

common/config/rush/pnpm-lock.yaml Outdated Show resolved Hide resolved
common/config/rush/pnpm-lock.yaml Outdated Show resolved Hide resolved
3. Create a storage account and populate the `.env` file with `APPCONFIG_CONNECTION_STRING` variable.
4. Run the tests as follows

- list settings
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's special about these settings?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

list configuration settings? what do you mean?

@ghost
Copy link

ghost commented Jun 24, 2021

Hello @HarshaNalluru!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 35739ab into main Jun 25, 2021
@ghost ghost deleted the harshan/app-config/perf-tests branch June 25, 2021 01:33
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request Aug 25, 2021
[Hub Generated] Public private branch 'raonon-MixedReality-UpdateResourceResponse' (Azure#15763)

* Updated response payload to include missing properties

* Reverted Identity property

* Updated stable/2020_05_01/proxy.json to include missing object properties

Co-authored-by: Raymond Ononiwu <raonon@microsoft.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Configuration Azure.ApplicationModel.Configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AppConfig] Add perf test
3 participants