Re: Dispatcher

2013-05-08 Thread Kelven Yang
API job dispatch and internal job execution are managed through Async Job facility inside CloudStack. You can look at ApiServer.java/ApiDispather.java/AsyncJobManagerImpl.java in source code to get more details. I'm currently working on improving VM state sync, HA and job management as a whole as

Re: Dispatcher

2013-05-07 Thread Wei ZHOU
Hi Faisal, Please have a look at the last page of this presentation http://www.slideshare.net/cloudstack/cloudstack-architecture Wei 2013/5/7 Faisal Azizullah > Thanks Vijay, > > I am looking for how jobs are processed in cloudstack, let say for e.g. if > I want to create a new VM, how this j

Re: Dispatcher

2013-05-07 Thread Faisal Azizullah
Thanks Vijay, I am looking for how jobs are processed in cloudstack, let say for e.g. if I want to create a new VM, how this job is handled. Thanks, Faisal On May 7, 2013, at 10:54 AM, Vijayendra Bhamidipati wrote: > Hi Faisal, > > Are you referring to the API dispatcher in cloudstack? I

RE: Dispatcher

2013-05-07 Thread Vijayendra Bhamidipati
Hi Faisal, Are you referring to the API dispatcher in cloudstack? If so, there are two starting points - one for servlet requests received over 8080, and the other for the integration port (8096 by default). The former starts with handle() in ApiServer.java. The latter starts with doGet() and d