[
https://issues.apache.org/jira/browse/VCL-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128718#comment-14128718
]
Josh Thompson commented on VCL-5:
---------------------------------
solution hashed out in this thread
http://mail-archives.apache.org/mod_mbox/vcl-dev/201307.mbox/%3C2232243.J55CAxcd2y@treebeard%3E
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)