Skip to content

Commit

Permalink
Testing observations of zip file upload (#6823)
Browse files Browse the repository at this point in the history
* Testing observations for upload zip file API

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Added separate file

Signed-off-by: sonali wale <sonali.wale@progress.com>
  • Loading branch information
sonali523 authored and vinay033 committed Mar 24, 2022
1 parent e5d6e43 commit acbb0a4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions dev-docs/infra-server-testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Context
Do Performance testing and benchmarking to capture the API response times for
the infra proxy APIs

## chef infra-proxy upload file API for sync org and users
API endpoint - "api/v0/infra/servers/migrations/upload"

Tested the different size of zip files with similar CPU and memory requirement of Automate as
- 16 GB of RAM
- 80 GB of disk space (available to /hab)
- 4 vCPUs

The following details are captured through the API

| File Size | API response time
| 10 MB | 514ms
| 512 MB | 30.61s
| 1 GB | 58.73s
| 1.5 GB | 1.4min
| 2 GB | Error: 413 Request Entity Too Large

The maximum size of zip file we can use is 1.5GB

0 comments on commit acbb0a4

Please sign in to comment.