[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308676#comment-16308676
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10104:
---------------------------------------------

blueorangutan commented on issue #2282: CLOUDSTACK-10104:Optimize database 
transactions in ListDomain API to improve performance
URL: https://github.com/apache/cloudstack/pull/2282#issuecomment-354870130
 
 
   <b>Trillian test result (tid-1968)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 29253 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2282-t1968-kvm-centos7.zip
   Intermitten failure detected: /marvin/tests/smoke/test_password_server.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
   Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
   Smoke tests completed. 64 look OK, 2 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_04_rvpc_network_garbage_collector_nics | `Failure` | 276.42 | 
test_vpc_redundant.py
   test_hostha_enable_ha_when_host_in_maintenance | `Error` | 1.26 | 
test_hostha_kvm.py
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Optimize database transactions in ListDomain API to improve performance
> -----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10104
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10104
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>            Reporter: Pranali Mande
>
> While creating the response object for the 'listDomain' API, several database 
> calls are triggered to fetch details like parent domain, project limit, IP 
> limit, etc. These database calls are triggered for each record found for in 
> the main fetch query, which is causing the response to slow down. The 
> database transactions could be optimized to reduce the response time of the 
> Listdomain API



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to