Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Hive.Scaler/serviceinformationstore.xml @ 12725

Last change on this file since 12725 was 9508, checked in by fschoepp, 12 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.5 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<serviceModel xmlns="http://schemas.microsoft.com/practices/2011/entlib/autoscaling/serviceModel">
3  <subscriptions>
4    <subscription name="ADJUST_ME"
5                  subscriptionId="ADJUST_ME"
6                  certificateThumbprint="ADJUST_ME"
7                  certificateStoreName="My"
8                  certificateStoreLocation="CurrentUser">     
9      <services>
10        <service dnsPrefix="optimization" slot="Production" scalingMode="Scale">
11          <roles>           
12            <role alias="Scaler"
13                  roleName="HeuristicLab.Services.Optimization.Scaler"
14                  wadStorageAccountName="optimizationstorage"/>
15          </roles>
16        </service>
17        <service dnsPrefix="optimizationslave" slot="Production" scalingMode="Scale">
18          <roles>
19            <role alias="SlaveWorker"
20                  roleName="HeuristicLab.Clients.Hive.Slave.AzureClient-3.3"
21                  wadStorageAccountName="optimizationstorage"/>
22          </roles>
23        </service>
24      </services>
25      <storageAccounts>
26        <storageAccount alias="optimizationstorage" connectionString="DefaultEndpointsProtocol=https;AccountName=ADJUST_ME;AccountKey=ADJUST_ME">         
27        </storageAccount>
28      </storageAccounts>
29    </subscription>   
30  </subscriptions> 
31  <stabilizer scaleUpCooldown="00:01:00"
32              scaleDownCooldown="00:01:00"
33              scaleUpOnlyInFirstMinutesOfHour="0"
34              scaleDownOnlyInLastMinutesOfHour="0" />
35</serviceModel>
Note: See TracBrowser for help on using the repository browser.