Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Clients.Hive.Slave.Azure/ServiceDefinition.csdef @ 11614

Last change on this file since 11614 was 9508, checked in by fschoepp, 11 years ago

#1888:
HL:

  • Web projects requires different users to interact with hive. The singleton HiveServiceLocator.Instance doesn't allow different users at the same time, resulting in serialization during access of HiveClient methods.

The following changes have been introduced in favor of a parallel use of the HL libs:

  • HiveClient, TaskDownloader and ConcurrentTaskDownloader may now use a different IHiveServiceLocator than HiveServiceLocator.Instance (all methods have appropriate overloads now).
  • The default instance is still HiveServiceLocator.Instance.

Automated Scaling of Instances:

  • Added Scaler project to solution which represents a WorkerRole that scales the slave instances based on the global cpu utilization of all slaves.
  • Scaler is based on WASABi, rules can be adjusted in rulesstore.xml. Basic rule is: if < 45% global cpu utilization => remove an instance; if > 65% cpu => add an instance. Minimum boundary is 1 and maximum boundary is 8 slave instances.
  • Adjusted Slave project to automatically register itself to a SlaveGroup during WebRole startup (can be adjusted in service configuration).

Web-Frontend:

  • Added basic error messages to the dialogs when an ajax call fails.
  • Removed Styling.js from scripts.
File size: 700 bytes
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<ServiceDefinition name="HeuristicLab.Clients.Hive.Slave.Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-05.1.7">
3  <WorkerRole name="HeuristicLab.Clients.Hive.Slave.AzureClient-3.3" vmsize="Small">
4    <Imports>
5      <Import moduleName="Diagnostics" />
6    </Imports>
7    <ConfigurationSettings>
8      <Setting name="HiveServerAddress" />
9      <Setting name="HiveServerCertifcateEncodedValue" />
10      <Setting name="HiveServerUsername" />
11      <Setting name="HiveServerPassword" />
12      <Setting name="HiveGroup" />
13    </ConfigurationSettings>
14  </WorkerRole>
15</ServiceDefinition>
Note: See TracBrowser for help on using the repository browser.