RE: Genero web services (Genero Application Server)
"Christopher, Pete" <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
Don, There was a whole discussion of this on the Genero list. Apparently, your statement "and as they get busy it will start no more than MAX_AVAILABLE" is not correct. The GAS will continue to start DVMs regardless of MAX_AVAILABLE (within license constraints) but once the WS call is finished, it will immediately tear down the DVM instance if there are more than MAX_AVAILABLE instances running (i.e. not wait for DVM_AVAILABLE timeout to occur before teardown). NOTE: There is a "MaxLicenseConsumption" attribute of the service element that you can set to restrict the number of licenses available to a service. I didn't understand this until a couple of days ago either. :-) HTH, --Pete ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Don Bizzell Sent: Wednesday, March 16, 2005 11:54 AM To: [email protected] Subject: RE: [fourjs-users] Genero web services (Genero Application Server) Bart, Think of it this way, The application server is going to start START number of DVMs (each takes a license) as web service servers waiting to service requests. After some time out if the DVMs are not busy the application server will reduce the number of DVMs to MIN_AVAILABLE, and as they get busy it will start no more than MAX_AVAILABLE. The application server will queue the requests until either they timeout and return an error or one of the DVM's frees up to handle the requests. The idea is for scalability. You may have a steady load that requires START number of DVMs but during slow times you would allow the number to fall to min, but you may not want to fire off more than max. These three settings give you that flexibility. HTH, Don Bizzell ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Bart Orlowski Sent: Wednesday, March 16, 2005 10:19 AM To: [email protected] Subject: [fourjs-users] Genero web services (Genero Application Server) Hello, I have a question about the GAS (Genero Application Server) configiration file - as.xcf The EXECUTION_COMPONENT/POOL section/element has 3 parts/elements: This section is only applicable to web services. I provided description of these elements (quote from the GAS manual): START - Zero or one START. This element specifies the minimum number of Virtual Machines attached to this Web Service.Constraint: START <= MAX_AVAILABLE MIN_AVAILABLE - Zero or one MIN_AVAILABLE. Specificies the minimum number of available Virtual Machine attached to a Web Service. It can be either lower or greater than the value specified by START.Constraint: 0 <= MIN_AVAILABLE <= MAX_AVAILABLE MAX_AVAILABLE - Zero or one MAX_AVAILABLE. Specifies the maximum number of available Virtual Machinesattached to a Web Service. Constraints:START <= MAX_AVAILABLE MIN_AVAILABLE <= MAX_AVAILABLE. Can someone please explain to me the purpose of the START and the MIN_AVAILABLE elements - (is it the minimum number of virtual machines ALWAYS available to a web service - which would mean that GAS reserves appopriate number of licences? - I am not sure....., and what is the meaning of the START element?) Thank you for you help... Bart Orlowski Software Developer Versaterm Inc. Tel. (613) 820-0311 Email: [email protected] <mailto:[email protected]>