Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization/HeuristicLab.Services.Optimization.ccproj @ 12056

Last change on this file since 12056 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: 4.0 KB
RevLine 
[8235]1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4  <PropertyGroup>
5    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7    <ProductVersion>1.7</ProductVersion>
8    <ProjectGuid>{e64db8c8-3197-4a80-bd94-2eac8fd81b29}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab.Services.Optimization</RootNamespace>
12    <AssemblyName>HeuristicLab.Services.Optimization</AssemblyName>
13    <StartDevelopmentStorage>True</StartDevelopmentStorage>
14    <Name>HeuristicLab.Services.Optimization</Name>
15  </PropertyGroup>
16  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17    <DebugSymbols>true</DebugSymbols>
18    <DebugType>full</DebugType>
19    <Optimize>false</Optimize>
20    <OutputPath>bin\Debug\</OutputPath>
21    <DefineConstants>DEBUG;TRACE</DefineConstants>
22    <ErrorReport>prompt</ErrorReport>
23    <WarningLevel>4</WarningLevel>
24  </PropertyGroup>
25  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26    <DebugType>pdbonly</DebugType>
27    <Optimize>true</Optimize>
28    <OutputPath>bin\Release\</OutputPath>
29    <DefineConstants>TRACE</DefineConstants>
30    <ErrorReport>prompt</ErrorReport>
31    <WarningLevel>4</WarningLevel>
32  </PropertyGroup>
33  <!-- Items for the project -->
34  <ItemGroup>
35    <ServiceDefinition Include="ServiceDefinition.csdef" />
36    <ServiceConfiguration Include="ServiceConfiguration.Local.cscfg" />
37    <ServiceConfiguration Include="ServiceConfiguration.Cloud.cscfg" />
38  </ItemGroup>
39  <ItemGroup>
[9508]40    <ProjectReference Include="..\HeuristicLab.Services.Hive.Scaler\HeuristicLab.Services.Optimization.Scaler.csproj">
41      <Name>HeuristicLab.Services.Optimization.Scaler</Name>
42      <Project>{d03b1a10-9c88-4c4b-bccf-4f98cde863d3}</Project>
43      <Private>True</Private>
44      <RoleType>Worker</RoleType>
45      <RoleName>HeuristicLab.Services.Optimization.Scaler</RoleName>
46      <UpdateDiagnosticsConnectionStringOnPublish>True</UpdateDiagnosticsConnectionStringOnPublish>
47    </ProjectReference>
[8235]48    <ProjectReference Include="..\HeuristicLab.Services.Hive.WebRole\HeuristicLab.Services.Hive.WebRole.csproj">
49      <Name>HeuristicLab.Services.Hive.WebRole</Name>
50      <Project>{5bc9293e-a17c-462f-a946-4781cc763553}</Project>
51      <Private>True</Private>
52      <RoleType>Web</RoleType>
53      <RoleName>HeuristicLab.Services.Hive.WebRole</RoleName>
54      <UpdateDiagnosticsConnectionStringOnPublish>True</UpdateDiagnosticsConnectionStringOnPublish>
55    </ProjectReference>
[8384]56    <ProjectReference Include="..\HeuristicLab.Services.Optimization.Web\HeuristicLab.Services.Optimization.Web.csproj">
57      <Name>HeuristicLab.Services.Optimization.Web</Name>
58      <Project>{6c07848b-b75f-4a0f-9292-066a636e9a5f}</Project>
59      <Private>True</Private>
60      <RoleType>Web</RoleType>
61      <RoleName>HeuristicLab.Services.Optimization.Web</RoleName>
62      <UpdateDiagnosticsConnectionStringOnPublish>True</UpdateDiagnosticsConnectionStringOnPublish>
63    </ProjectReference>
[8235]64  </ItemGroup>
[8817]65  <ItemGroup>
66    <Folder Include="HeuristicLab.Services.Hive.WebRoleContent\" />
67  </ItemGroup>
[8235]68  <!-- Import the target files for this project template -->
69  <PropertyGroup>
70    <VisualStudioVersion Condition=" '$(VisualStudioVersion)' == '' ">10.0</VisualStudioVersion>
71    <CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\1.7\</CloudExtensionsDir>
72  </PropertyGroup>
73  <Import Project="$(CloudExtensionsDir)Microsoft.WindowsAzure.targets" />
74</Project>
Note: See TracBrowser for help on using the repository browser.