[ https://issues.apache.org/jira/browse/CLOUDSTACK-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Parth Jagirdar resolved CLOUDSTACK-1483. ---------------------------------------- Resolution: Won't Fix Due to following reasons, this improvement will not be implemented. 1) Default number is 25 API's per second. (Changeable) 2) By default throttling is disabled. (Changeable) 3) Not to enforce a hard coded value and give end users flexibility. > API Throttling : Minimum number of API in unit of time should be considered > as default > -------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1483 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1483 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API, Management Server, UI > Environment: RHEL 6.3 Build 46 > Reporter: Parth Jagirdar > Assignee: Parth Jagirdar > > API throttling number can be set to anything at this point. > Suggestions here is to have this number set to a value that is great than > number of API that can be fired by any potential action on UI. > For example > Login as user fires about 8 in total. (Of course in less than a second which > is the unit we use in API throttling) > Now if this number is set to anything less than this will have unpleasent > effect on UI. > Including unwanted error and partial UI screen rendering. > .. Please provide your suggestions. > 2013-03-01 14:14:28,076 INFO [cloud.api.ApiServer] (catalina-exec-16:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- POST command=login domain=/ > 2013-03-01 14:14:28,188 INFO [cloud.api.ApiServer] (catalina-exec-15:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- GET > command=listCapabilities&response=json&sessionkey=R5MLekZI1H0lDCPUwP7Ahvy133I%3D&_=1362176069443 > 200 { "listcapabilitiesresponse" : { "capability" : > {"securitygroupsenabled":false,"cloudstackversion":"4.1.0-SNAPSHOT","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingmaxsize":1024,"apilimitinterval":1,"apilimitmax":20} > } } > 2013-03-01 14:14:28,312 INFO [cloud.api.ApiServer] (catalina-exec-1:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- GET > command=listZones&response=json&sessionkey=R5MLekZI1H0lDCPUwP7Ahvy133I%3D&_=1362176069579 > 200 { "listzonesresponse" : { } } > 2013-03-01 14:14:28,652 INFO [cloud.api.ApiServer] (catalina-exec-3:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- GET > command=listProjectInvitations&response=json&sessionkey=R5MLekZI1H0lDCPUwP7Ahvy133I%3D&state=Pending&_=1362176069827 > 200 { "listprojectinvitationsresponse" : { } } > 2013-03-01 14:14:28,656 INFO [cloud.api.ApiServer] (catalina-exec-22:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- GET > command=listVirtualMachines&response=json&sessionkey=R5MLekZI1H0lDCPUwP7Ahvy133I%3D&listAll=true&_=1362176069816 > 200 { "listvirtualmachinesresponse" : { } } > 2013-03-01 14:14:28,796 INFO [cloud.api.ApiServer] (catalina-exec-5:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- GET > command=listEvents&response=json&sessionkey=R5MLekZI1H0lDCPUwP7Ahvy133I%3D&listAll=true&page=1&pageSize=4&_=1362176070042 > 200 { "listeventsresponse" : { "count":37 ,"event" : [ > {"id":"94750182-a66d-4bc9-a6b1-f55ca6e5c854","username":"test","type":"USER.LOGIN","level":"INFO","description":"user > has logged in from IP Address > 10.217.252.57","account":"test","domainid":"c6276150-81dc-11e2-b8cf-066a9a000451","domain":"ROOT","created":"2013-03-01T14:14:27-0800","state":"Completed"}, > > {"id":"a7ec52d8-b890-436f-9c2b-fc0c2f38aef7","username":"test","type":"USER.LOGOUT","level":"INFO","description":"user > has logged > out","account":"test","domainid":"c6276150-81dc-11e2-b8cf-066a9a000451","domain":"ROOT","created":"2013-03-01T14:14:14-0800","state":"Completed"}, > > {"id":"2a923991-8f4b-4cad-9b25-615d0150fa99","username":"test","type":"USER.LOGIN","level":"INFO","description":"user > has logged in from IP Address > 10.217.252.57","account":"test","domainid":"c6276150-81dc-11e2-b8cf-066a9a000451","domain":"ROOT","created":"2013-03-01T14:13:59-0800","state":"Completed"}, > > {"id":"34978902-7845-45f4-90a4-279462958474","username":"test","type":"USER.LOGOUT","level":"INFO","description":"user > has logged > out","account":"test","domainid":"c6276150-81dc-11e2-b8cf-066a9a000451","domain":"ROOT","created":"2013-03-01T14:10:32-0800","state":"Completed"} > ] } } > 2013-03-01 14:14:28,984 INFO [cloud.api.ApiServer] (catalina-exec-4:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- GET > command=listNetworks&response=json&sessionkey=R5MLekZI1H0lDCPUwP7Ahvy133I%3D&listAll=true&type=isolated&supportedServices=SourceNat&_=1362176070165 > 200 { "listnetworksresponse" : { } } > 2013-03-01 14:14:29,088 INFO [cloud.api.ApiServer] (catalina-exec-24:null) > (userId=3 accountId=3 sessionId=A5CF38CF8FC3501132D75C921E9B8916) > 10.217.252.57 -- GET > command=listPublicIpAddresses&response=json&sessionkey=R5MLekZI1H0lDCPUwP7Ahvy133I%3D&_=1362176070322 > 200 { "listpublicipaddressesresponse" : { } } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira