+ Reply to Thread
Results 1 to 4 of 4

Thread: preStartApplication setting

  1. #1
    ComputerGuy's Avatar
    ComputerGuy is offline Junior Member
    Join Date
    April 24th, 2008
    Posts
    22
    Downloads
    2
    Uploads
    0

    Default preStartApplication setting

    I noticed in all the Sample Applications, preStartApplication is set to false.

    Then I looked at the Reference Guide, it describes the following for this paramter:

    preStartApplication
    Specifies whether the session manager, service instance manager, and service instances are prestarted for enabled applications when Symphony is started, or when an application is enabled.

    Prestarting the session manager provides quicker response to the first client request for this application. Prestarting the service instances manager and service instances provides quicker response to tasks.


    My question is, under what circumstances would we NOT want to pre-start the application? Considering that setting it to true appears to have these benefits, in terms of performance.

  2. #2
    lechen's Avatar
    lechen is offline Junior Member
    Join Date
    March 12th, 2008
    Location
    Toronto, Ontario
    Posts
    71
    Blog Entries
    1
    Downloads
    8
    Uploads
    0

    Default

    CG, a couple of reasons as to why preStartApplication=false in the Symphony DE Samples:
    1. The samples are intended to demonstrate Symphony features, thus performance is the key focus.
    2. We found that when users are going through the samples and tutorials, they run them once and move on to the next one. However, the SSM and compute slots are quickly taken up by all the sample applications, which are just sitting idle. By disable pre-start for the samples, we ensure there are always resources available for other user applications.
    If you are building your own application based on one of the samples, and would like the application to be pre-started for better performance, by all means go ahead and set preStartApplication=true in the application profile.

    Good question by the way, the doc should have made some mentioning for setting the parameter to false.

  3. #3
    ComputerGuy's Avatar
    ComputerGuy is offline Junior Member
    Join Date
    April 24th, 2008
    Posts
    22
    Downloads
    2
    Uploads
    0

    Default

    Pre-Start it is then! Always nice to get a head start on things

    And I always disable unused apps.

  4. #4
    lechen's Avatar
    lechen is offline Junior Member
    Join Date
    March 12th, 2008
    Location
    Toronto, Ontario
    Posts
    71
    Blog Entries
    1
    Downloads
    8
    Uploads
    0

    Default

    Quote Originally Posted by ComputerGuy View Post
    Pre-Start it is then! Always nice to get a head start on things
    If preStartApplication=false, it takes roughly 0.5 seconds to start SSM/SIM when sending the 1st task. In production enviornment, it's recommended to enable pre-start.

    Quote Originally Posted by ComputerGuy View Post
    And I always disable unused apps.
    Good practice !

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts