Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 11659 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: 1.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  **********************************************************************************************
4
5  This file was generated by a tool from the project file: ServiceDefinition.csdef
6
7  Changes to this file may cause incorrect behavior and will be lost if the file is regenerated.
8
9  **********************************************************************************************
10-->
11<ServiceDefinition name="HeuristicLab.Clients.Hive.Slave.Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-05.1.7">
12  <WorkerRole name="HeuristicLab.Clients.Hive.Slave.AzureClient-3.3" vmsize="Small">
13    <Imports>
14      <Import moduleName="Diagnostics" />
15    </Imports>
16    <ConfigurationSettings>
17      <Setting name="HiveServerAddress" />
18      <Setting name="HiveServerCertifcateEncodedValue" />
19      <Setting name="HiveServerUsername" />
20      <Setting name="HiveServerPassword" />
21      <Setting name="HiveGroup" />
22    </ConfigurationSettings>
23  </WorkerRole>
24</ServiceDefinition>
Note: See TracBrowser for help on using the repository browser.