You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (Updated) (JIRA)" <ji...@apache.org> on 2012/02/21 21:28:48 UTC

[jira] [Updated] (VCL-5) multiple web servers

     [ https://issues.apache.org/jira/browse/VCL-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Thompson updated VCL-5:
----------------------------

    Fix Version/s:     (was: 2.3)
                   2.4
    
> multiple web servers
> --------------------
>
>                 Key: VCL-5
>                 URL: https://issues.apache.org/jira/browse/VCL-5
>             Project: VCL
>          Issue Type: New Feature
>          Components: web gui (frontend)
>    Affects Versions: 2.2
>            Reporter: Josh Thompson
>             Fix For: 2.4
>
>
> Modify the frontend code to allow the existence of multiple web servers running in a load balanced fashion. The holdup for this has been due to a semaphore lock around the code that allocates a machine for a reservation. Without the semaphore, two people hitting the site at (nearly) the exact same time can end up being assigned the same machine.
> An idea I came up with to handle this is to only run the scheduling portion of the code via the XML RPC API. A single web server would be elected as the master. All web servers would call the scheduling part of the code via the API on the master, allowing the semaphore lock to still function. If the master server goes down, an election process would determine the new master.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira