Changeset 9637 for branches/HivePerformance/sources
- Timestamp:
- 06/17/13 14:59:36 (11 years ago)
- Location:
- branches/HivePerformance/sources
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave.ConsoleClient/3.3/app.config
r9461 r9637 20 20 <bindings> 21 21 <wsHttpBinding> 22 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding=" Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">22 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 23 23 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 24 24 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave.MultiSlavesRunner/3.3/app.config
r9461 r9637 25 25 <bindings> 26 26 <wsHttpBinding> 27 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding=" Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">27 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 28 28 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 29 29 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> … … 88 88 <HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings> 89 89 <setting name="NumberOfSlaves" serializeAs="String"> 90 <value> 16</value>90 <value>2</value> 91 91 </setting> 92 92 </HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings> -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3/app.config
r9461 r9637 13 13 <bindings> 14 14 <wsHttpBinding> 15 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding=" Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">15 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 16 16 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 17 17 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave/3.3/app.config
r9461 r9637 24 24 <bindings> 25 25 <wsHttpBinding> 26 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding=" Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">26 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 27 27 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 28 28 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive/3.3/HiveServiceLocator.cs
r9539 r9637 35 35 } 36 36 37 private HiveServiceLocator() { 38 } 39 37 40 private string username; 38 41 public string Username { … … 47 50 } 48 51 49 p rivate int endpointRetries;52 public int EndpointRetries { get; private set; } 50 53 51 p rivate string workingEndpoint;54 public string WorkingEndpoint { get; private set; } 52 55 53 56 private HiveServiceClient NewServiceClient() { 54 if ( endpointRetries >= Settings.Default.MaxEndpointRetries) {55 return CreateClient( workingEndpoint);57 if (EndpointRetries >= Settings.Default.MaxEndpointRetries) { 58 return CreateClient(WorkingEndpoint); 56 59 } 57 60 … … 63 66 var cl = CreateClient(endpointConfigurationName); 64 67 cl.Open(); 65 workingEndpoint = endpointConfigurationName;68 WorkingEndpoint = endpointConfigurationName; 66 69 return cl; 67 70 } 68 71 catch (Exception exc) { 69 72 exception = exc; 70 endpointRetries++;73 EndpointRetries++; 71 74 } 72 75 } 73 76 74 throw exception ;77 throw exception ?? new Exception("No endpoint for Hive service found."); 75 78 } 76 79 -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive/3.3/Settings.Designer.cs
r9461 r9637 26 26 [global::System.Configuration.ApplicationScopedSettingAttribute()] 27 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 [global::System.Configuration.DefaultSettingValueAttribute(" 16")]28 [global::System.Configuration.DefaultSettingValueAttribute("2")] 29 29 public int MaxParallelUploads { 30 30 get { … … 93 93 [global::System.Configuration.ApplicationScopedSettingAttribute()] 94 94 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 95 [global::System.Configuration.DefaultSettingValueAttribute(" 5")]95 [global::System.Configuration.DefaultSettingValueAttribute("3")] 96 96 public int MaxEndpointRetries { 97 97 get { -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive/3.3/Settings.settings
r9461 r9637 4 4 <Settings> 5 5 <Setting Name="MaxParallelUploads" Type="System.Int32" Scope="Application"> 6 <Value Profile="(Default)"> 16</Value>6 <Value Profile="(Default)">2</Value> 7 7 </Setting> 8 8 <Setting Name="HLBinaryName" Type="System.String" Scope="Application"> … … 29 29 </Setting> 30 30 <Setting Name="MaxEndpointRetries" Type="System.Int32" Scope="Application"> 31 <Value Profile="(Default)"> 5</Value>31 <Value Profile="(Default)">3</Value> 32 32 </Setting> 33 33 </Settings> -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive/3.3/app.config
r9461 r9637 9 9 <HeuristicLab.Clients.Hive.Settings> 10 10 <setting name="MaxParallelUploads" serializeAs="String"> 11 <value> 16</value>11 <value>2</value> 12 12 </setting> 13 13 <setting name="HLBinaryName" serializeAs="String"> … … 36 36 </setting> 37 37 <setting name="MaxEndpointRetries" serializeAs="String"> 38 <value> 5</value>38 <value>3</value> 39 39 </setting> 40 40 </HeuristicLab.Clients.Hive.Settings> … … 50 50 <bindings> 51 51 <wsHttpBinding> 52 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding=" Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">52 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 53 53 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/> 54 54 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/> -
branches/HivePerformance/sources/HeuristicLab.Services.Hive.SelfHost/3.3/App.config
r9434 r9637 59 59 <bindings> 60 60 <wsHttpBinding> 61 <binding name="WSHttpBinding_IHiveService" messageEncoding=" Mtom" receiveTimeout="00:15:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">61 <binding name="WSHttpBinding_IHiveService" messageEncoding="Text" receiveTimeout="00:15:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 62 62 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 63 63 <security mode="Message"> -
branches/HivePerformance/sources/HeuristicLab.Services.Hive.Web/Hive-3.3/Web.config
r9460 r9637 59 59 <bindings> 60 60 <wsHttpBinding> 61 <binding name="WSHttpBinding_IHiveService" messageEncoding=" Mtom" receiveTimeout="00:15:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">61 <binding name="WSHttpBinding_IHiveService" messageEncoding="Text" receiveTimeout="00:15:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 62 62 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 63 63 <security mode="Message">
Note: See TracChangeset
for help on using the changeset viewer.