Created
July 8, 2016 20:16
-
-
Save jamesyli/2eb9fb474a493477a9beb42fe122180f to your computer and use it in GitHub Desktop.
Performance evaluation for https://review.openstack.org/#/c/328813
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Environment | |
We loaded a testing environment at Rackspace with 208,480 zones and 1,442,265 recordsets in DB. | |
The tenant we use in our tests has 173,259 zones and 1,203,147 recordsets. | |
2. Tests | |
The purpose is to quantify the performance gain of GET /recordsets from the newly added DB indexes, and | |
the impact of those indexes on DB writes, i.e. POST zones/recordsets. | |
The tests made 100 GET /recordsets requests with and w/o header OpenStack-DNS-Hide-Counts respectively, | |
also made 100 POST /zones, 500 POST /zones/ID/recordsets. | |
3. Results | |
With improvements | |
| min | max | avg | |
-------------------------------------+---------+-----------+---------- | |
POST /zones | 2.2263 | 2.83789 | 2.3577 | |
-------------------------------------+---------+-----------+---------- | |
POST /zones/ID/recordsets | 0.1899 | 1.04872 | 0.2847 | |
-------------------------------------+---------+-----------+---------- | |
GET /recordsets?data= | |
(OpenStack-DNS-Hide-Counts: True) | 0.09515 | 0.91712 | 0.15232 | |
-------------------------------------+---------+-----------+---------- | |
GET /recordsets?data= | 11.0823 | 15.4161 | 11.9399 | |
-------------------------------------+---------+-----------+---------- | |
GET /zones/ID/recordsets?data= | 0.10589 | 0.69246 | 0.18023 | |
-------------------------------------+---------+-----------+----------- | |
Baseline | |
| min | max | avg | |
-------------------------------------+---------+-----------+---------- | |
POST /zones | 2.2149 | 2.8278 | 2.3383 | |
POST /zones/ID/recordsets | 0.1851 | 1.1472 | 0.2382 | |
GET /recordsets?data= | 22.8523 | 32.3216 | 24.7150 | |
-------------------------------------+---------+-----------+---------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment