<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10531</bug_id>
          
          <creation_ts>2010-09-02 13:21:46 +0000</creation_ts>
          <short_desc>Load balancer: add server-specific route for polling</short_desc>
          <delta_ts>2010-09-03 10:38:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Web interface</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          <qa_contact name="fd">fd</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38399</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-09-02 13:21:46 +0000</bug_when>
    <thetext>The mobileOK Checker uses Javascript to poll for updates on the status of the requested task. Since the mobileOK Checker is now composed of a load balancer in the front end and two Web server instances in the back end, we need to make sure that the same server receives all the requests on a given task.

To do this, the route to use needs to be added in a session ID, or perhaps simply in the task ID request parameter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38449</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-09-03 10:38:47 +0000</bug_when>
    <thetext>Session IDs are not needed by the Checker and would introduce another useless identifier as well as the use of a useless Cookie.

The load balancer only needs to be told the route it needs to follow to reach the back end server. This route may now be appended to the task ID returned by the Checker.

More precisely, the &quot;loadBalancerRoute&quot; tells the Checker which value to use. If not set, the Checker does not append the route to the task ID. Otherwise, it returns an identifier of the form:
 [regular task id].[route]
 e.g. 2010090312345721.mobile1

Since the load balancer cannot parse parameters in HTTP POST requests, the polling task in Javascript was also updated to use only GET requests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>