Every communication between the Service Broker and the Lab Server should include the "labServerID" number, so that web services on the Lab Server can route messages to the proper experiment engine. Currently, the Service Broker API assumes a one-to-one mapping between labServerID numbers and IP addresses. It should be possible to have a many-to-one mapping between labServerID numbers and IP addresses.
% Matlab data fileUnfortunately, the client cannot determine the user's name. Users are required to log in and authenticate to the Service Broker, but the Lab Client can't ask "whoami?"
% Produced by 6.302 Client version 3.1
% Created by johndoe on Wed Jul 28 10:38:20 EDT 2004
% while running the 6.302 Thermal Experiment
For example, a web client could request
http://ilab.mit.edu/proxy/6.302/status.htmland the Service Broker would retrieve
http://labserver302.eecs.mit.edu/status.htmland forward it to the client. There are several reasons that we prefer this approach: