<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Resolve Probing Performance!</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Resolve Probing Performance!</description>
  <pubDate>Wed, 13 May 2026 18:19:03 -700</pubDate>
  <lastBuildDate>Tue, 11 Oct 2011 09:45:58 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2992</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Resolve Probing Performance! :   Hi Von,OK, since you&amp;#039;re...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11807#11807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2992<br /><strong>Posted:</strong> 11-Oct-2011 at 9:45am<br /><br />Hi Von,<div>&nbsp;</div><div>OK, since you're on a a development machine the initial startup is probably not a concern.</div><div>&nbsp;</div><div>The problem is that you're running a distributed application and this is the log from the server.&nbsp; This log shows the server receiving the query at 16:32:53.&nbsp; I can't tell when the query completes because I then see creation of a communication proxy, which should not be here.&nbsp;&nbsp; Creation of that proxy is happening in the gap from 16:32:54 to 16:33:02, so I have to assume it's this causing the performance hit here.&nbsp;&nbsp; Your application is creating a new EntityManager somewhere, likely in&nbsp;the custom query interceptor, which is causing this to happen.&nbsp; Once we resolve this then we can see what else is happening with the first query and if that performance can be improved.</div><div>&nbsp;</div><div>On the save, the server doesn't receive the save request until 16:33:15.&nbsp; If your client application called SaveChanges at 16:33:11 then we need to understand what was happening between this call on the client and the time the request hit the server.&nbsp; Do you have client-side event handlers in place?&nbsp; What is your&nbsp;save interceptor doing?&nbsp;&nbsp;What kind of&nbsp;validations are in place?&nbsp; Additional diagnostics in your save interceptor may help here.</div><div>&nbsp;</div><div>When you make a change to one property and then save the entity, the entire entity is still sent to the server.&nbsp; Since you're saving only one entity it's unlikely the payload is large, but if that entity has byte arrays or large text fields then transmission could certainly be slower than you might expect.&nbsp;&nbsp;&nbsp;Instance-level validation will also be performed on the entity during save processing, so check which verifiers will be running.</div><div>&nbsp;</div><div>I should emphasize also that you'll always see delays (usually small) when the services first start, and upon the first query and save to hit the server.&nbsp; This does mean that the unlucky user who experienced these will see some slowness, but not every user for every first query and save.&nbsp; Once the BOS is humming along there will be no further initialization by either DevForce or EF.&nbsp; </div><div>&nbsp;</div><div>For further help,&nbsp;email to IdeaBladeSupportTrack, your client and server debug logs, the code from your custom login manager, the&nbsp;query and save interceptors, your EDMX, and any custom verifiers or buddy classes which add verifiers.&nbsp; If it's easier, you can instead send a repro solution which exhibits these issues.</div><div>&nbsp;</div><div>Kim</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 11 Oct 2011 09:45:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11807#11807</guid>
  </item> 
  <item>
   <title>Resolve Probing Performance! :  Hi Kimj,I wasn&amp;#039;t able to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11788#11788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1228" rel="nofollow">Vonzkie</a><br /><strong>Subject:</strong> 2992<br /><strong>Posted:</strong> 10-Oct-2011 at 7:05pm<br /><br />Hi Kimj,<div><br></div><div>I wasn't able to post to the Technical Support Page, the Request Help button is not responding..</div><div><br></div><div>Anyway, here's my reply:</div><div><br></div><div><div>My Web Server environment are Windows 7 for development (4 GB Ram and i5 processor)&nbsp;</div><div>and Windows Server 2008 R2&nbsp;</div><div>(Virtual PC with 2 GB Ram and i7 processor) for other deployment testing.</div><div><br></div><div>Yes I believe we need to minimize the startup delay but I'm more concerned with the&nbsp;</div><div>initial query and saving process because in the eyes of the client they will thought</div><div>that the system is slow when retrieving data.</div><div><br></div><div>There's a problem in the initial query, because I'm tracing this using trace viewer&nbsp;</div><div>and sql profiler, the Devforce query is executed on 2011-10-10T16:32:53 and ended in&nbsp;</div><div>2011-10-10T16:33:02 and after that the "Real Data Retrieval" happened.</div><div><br></div><div>This is also true to the Save Process, it happened more or less 2011-10-10T16:33:10</div><div>or 2011-10-10T16:33:11 because I change field value and hit the save button w/c</div><div>actually calls the context.SaveChanges() and ended up 2011-10-10T16:33:16,&nbsp;</div><div>note that I only changed one field here.</div><div><br></div><div>I'm really after with query and save operation because this is where the client</div><div>interaction would take place, we could handle the startup by creating some splash&nbsp;</div><div>screen or other techniques but we also want to minimize it.</div></div><div><br></div><div>Thanks,</div><div>Von</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 10 Oct 2011 19:05:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11788#11788</guid>
  </item> 
  <item>
   <title>Resolve Probing Performance! :    To briefly summarize what...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11785#11785</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2992<br /><strong>Posted:</strong> 10-Oct-2011 at 12:41pm<br /><br /><p>To briefly summarize what I see here - </p><div>&nbsp;</div><div>- Total initialization time, from start at 16:32:42 until service startup at 16:32:50, seems long.&nbsp; The MEF "discovery" portion is taking only 1 second, and other DevForce initialization from 16:32:43 to 16:32:44 is taking only a second, but there's a 6 second gap from 16:32:44 to 16:32:50 that is surprising.&nbsp; This is where the EntityService WCF service is actually started and 6 seconds seems excessive.&nbsp; The delay could be due to IIS service compilation, other services in your application also starting, memory issues - it's difficult to know without further analysis.</div><p>- The first query starts at 16:32:53.&nbsp; The first query will trigger probing for various interface implementations, and also data source key "probing".&nbsp; All of this probing is completed by 16:32:54, so I'm not seeing a problem here.</p><p>- I'm curious as to what's going on in your application at 16:32:02, though. &nbsp;The log message indicates that a "client-side" communication proxy has been created, which you don't normally want to do on the BOS.&nbsp; This can happen when creating a new EntityManager and not using one supplied by DevForce in the various interceptors, etc.</p><p>- The first save is starting at 16:33:15.&nbsp; I know you say you've initiated it earlier, but the first sign that DevForce is processing the save on the server&nbsp;is that message at 16:33:15.&nbsp; Maybe you're seeing a gap from when the client application makes the save and it's received by the BOS?&nbsp; If that's the case, then we'd need to look at how much data is being saved.</p><div>--</div><p>So the major performance problem I see here is the initial startup.&nbsp; Can you send us your web.config, and also information on your IIS and OS versions and system configuration so we can look into this further?&nbsp; You can send this directly to IdeaBladeSupportTrack and reference task #11101.</p><p>Since you've implemented custom query and save interceptors it might help to add diagnostic tracing to see how long each of the query/save actions is taking.&nbsp; That will help&nbsp;identify&nbsp;hotspots.&nbsp;</p><p>As I mentioned above, creating a "client-side" communication proxy is generally not wanted when running on the server, so information on what you need here, and where it's happening (eg, in your custom login manager or interceptors, an RPC method?) will help us recommend a better approach.</p><div></div>]]>
   </description>
   <pubDate>Mon, 10 Oct 2011 12:41:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11785#11785</guid>
  </item> 
  <item>
   <title>Resolve Probing Performance! :   Hi Kimj,Thanks for the response.Now...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11779#11779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1228" rel="nofollow">Vonzkie</a><br /><strong>Subject:</strong> 2992<br /><strong>Posted:</strong> 10-Oct-2011 at 1:29am<br /><br /><span ="apple-style-span"="" style="font-family: 'Times New Roman'; "><div style="margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><div style="line-height: 1.4; font-size: 12px; ">Hi Kimj,</div><div style="line-height: 1.4; font-size: 12px; "><br></div><div style="line-height: 1.4; font-size: 12px; ">Thanks for the response.</div><div style="line-height: 1.4; font-size: 12px; "><br></div><div style="line-height: 1.4; font-size: 12px; ">Now I understand the difference between probing and other Devforce activities and it appears that my startup probing "alone" is only 1 second.</div><div style="line-height: 1.4; font-size: 12px; "><br></div><div style="line-height: 1.4; font-size: 12px; ">Here's my debuglog from Server, as you can see below when I initiate a query using my&nbsp;ContextManagerBase class, it has some amount of delay as well as the saving process.&nbsp;</div><div style="line-height: 1.4; font-size: 12px; "><br></div><div style="line-height: 1.4; font-size: 12px; ">Can you help me optimized this?</div><div style="line-height: 1.4; font-size: 12px; "><br></div><div style="line-height: 1.4; font-size: 12px; ">Note that I don't have any customized CompositionContext used here.</div><div style="line-height: 1.4; font-size: 12px; "><br></div><div style="line-height: 1.4; font-size: 12px; ">&lt;?xml version="1.0"?&gt;&lt;?xml-stylesheet href="DebugLog.xsl" type="text/xsl"?&gt;&lt;log&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="10" timestamp="2011-10-10T16:32:44" username="" source="IdeaBlade.Core.TraceFileXmlLogger:GetLogHeader"&gt;------------ Log Created ------------&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="0" timestamp="2011-10-10T16:32:42" username="" source="IdeaBlade.Core.IdeaBladeConfig:Initialize"&gt;Initializing configuration ...&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="1" timestamp="2011-10-10T16:32:42" username="" source="IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog"&gt;MEF assembly probing started: 10/10/2011 4:32:42 PM. &nbsp;If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="2" timestamp="2011-10-10T16:32:42" username="" source="IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog"&gt;Assembly 'iRely.ConnectionManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="3" timestamp="2011-10-10T16:32:43" username="" source="IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog"&gt;MEF assembly probing completed: 10/10/2011 4:32:43 PM&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="4" timestamp="2011-10-10T16:32:43" username="" source="IdeaBlade.Core.Composition.CompositionHost:.ctor"&gt;Probe Assemblies: iRely.ConnectionManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null :: iRely.VisionCore.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null &nbsp;If this list is unnecessarily large, use CompositionHost.SearchPatterns to modify the search critieria for probed assemblies. If this list does not contain the assembly(ies) holding your a) domain model, b) custom interface implementations, and c) POCO/known types then your application may not work correctly. Ensure that these assemblies are available in the exe/bin folder, and if using CompositionHost.SearchPatterns that the patterns are set appropriately.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="5" timestamp="2011-10-10T16:32:43" username="" source="IdeaBlade.Core.IdeaBladeConfig:InitializationStatusCallback"&gt;IdeaBlade License: 'EnterpriseUniv', KeyDate: 9/19/2011, AllowedSessions: 10000. Found on Assembly: 'iRely.VisionCore.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="6" timestamp="2011-10-10T16:32:43" username="" source="IdeaBlade.Core.Configuration.ServerSettingsElement:ConstrainSettingsBasedOnLicenseCore"&gt;The configured SupportedClientApplicationType is Both&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="7" timestamp="2011-10-10T16:32:43" username="" source="IdeaBlade.Core.Configuration.ServerSettingsElement:ConstrainSettingsBasedOnLicenseCore"&gt;Could not find a valid license to enable session-agnostic load balancing.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="8" timestamp="2011-10-10T16:32:44" username="" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for non-default 'ITraceLoggerProvider' and found no matching exports.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="9" timestamp="2011-10-10T16:32:44" username="" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for default 'ITraceLoggerProvider' and found 'IdeaBlade.Core.DefaultLoggerProvider'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="11" timestamp="2011-10-10T16:32:44" username="" source="IdeaBlade.Core.TraceFns:CompleteTracingInitialization"&gt;IdeaBladeConfig resolution: File: D:\70_VisionCore\iRely Applications\iRely.VisionCore.BusinessObjectServer\web.config - found&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="12" timestamp="2011-10-10T16:32:44" username="" source="IdeaBlade.Core.TraceFns:CompleteTracingInitialization"&gt;IdeaBladeConfig resolution: Logging file: D:\70_VisionCore\iRely Applications\iRely.VisionCore.BusinessObjectServer\log\DebugLog.xml&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="13" timestamp="2011-10-10T16:32:44" username="" source="IdeaBlade.Core.TraceFns:CompleteTracingInitialization"&gt;Bound to .NET runtime version 4.0.30319.225&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="14" timestamp="2011-10-10T16:32:44" username="" source="IdeaBlade.Core.TraceFns:CompleteTracingInitialization"&gt;DevForce version 6.1.2.0&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="15" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.EntityModel.Server.EntityServiceHost:AddBehaviors"&gt;Using DC serializer for EntityService&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="16" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for any 'ServiceHostEvents' and found 'IdeaBlade.EntityModel.Server.ServiceHostEvents'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="17" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.EntityModel.Server.EntityServiceHostFactory:CreateServiceHost"&gt;EntityService listening on http://ivon.comtech.com/iRely.VisionCore.BusinessObjectServer/EntityService_VisionCoreOriginalHere.svc&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="18" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for any 'EntityServiceApplication' and found 'IdeaBlade.EntityModel.EntityServiceApplication'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="19" timestamp="2011-10-10T16:32:50" username="" source=":CreateIdeaBlade.EntityModel.Server.RemoteEntityService"&gt;EntityService created&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="20" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.EntityModel.Server.EntityServer:.ctor"&gt;EntityServer created for DataSourceExtension: VisionCoreOriginalHere, CompositionContext: -IbDefault-&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="21" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.EdmQueryExecutor'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="22" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.PassthruEsqlQueryExecutor'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="23" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.StoredProcQueryExecutor'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="24" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.UdtQueryExecutor'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="25" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.EntityModel.Server.SessionManager:GetLoginManager"&gt;Anonymous access: disabled&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="26" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for non-default 'IEntityLoginManager' and found 'iRely.ConnectionManager.ConnectionSecurityIEntityLoginManager'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="27" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for non-default 'IKnownTypeProvider' and found no matching exports.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="28" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.EntityModel.Server.EntityServerHost:&amp;lt;AddBehaviors&amp;gt;b__2"&gt;Using DC serializer for EntityServer&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="29" timestamp="2011-10-10T16:32:50" username="" source="IdeaBlade.EntityModel.Server.EntityServerHostFactory:CreateServiceHost"&gt;EntityServer_VisionCoreOriginalHere listening on http://ivon.comtech.com/iRely.VisionCore.BusinessObjectServer/EntityServer_VisionCoreOriginalHere.svc&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="30" timestamp="2011-10-10T16:32:53" username="ContextManagerBase" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for any 'EntityServerQueryInterceptor' and found 'iRely.ConnectionManager.EntityServerQueryManager'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; "><font ="apple-style-span"="" color="#ff0000"><i>&lt;entry id="31" timestamp="2011-10-10T16:32:54" username="ContextManagerBase" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblSMSearch&#093;)&lt;/entry&gt;</i></font></div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="32" timestamp="2011-10-10T16:32:54" username="ContextManagerBase" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for default 'IDataSourceKeyResolver' and found 'IdeaBlade.EntityModel.DefaultDataSourceKeyResolver'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="33" timestamp="2011-10-10T16:32:54" username="ContextManagerBase" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for non-default 'IDataSourceKeyResolver' and found 'iRely.ConnectionManager.CustomDataSourceKeyResolver'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="34" timestamp="2011-10-10T16:32:54" username="ContextManagerBase" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for any 'IIdGenerator' and found 'IdeaBlade.EntityModel.StoreGeneratedIdGenerator'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="35" timestamp="2011-10-10T16:32:54" username="ContextManagerBase" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for non-default 'IConcurrencyStrategy' and found no matching exports.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="36" timestamp="2011-10-10T16:32:54" username="ContextManagerBase" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for default 'IConcurrencyStrategy' and found 'IdeaBlade.EntityModel.DefaultConcurrencyValueSetter'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; "><i><font ="apple-style-span"="" color="#ff0000">&lt;entry id="37" timestamp="2011-10-10T16:32:54" username="ContextManagerBase" source="IdeaBlade.EntityModel.Edm.EdmKey:FindClientAssembly"&gt;DataSourceKey probing started at 10/10/2011 4:32:54 PM&lt;/entry&gt;</font></i></div><div style="line-height: 1.4; font-size: 12px; "><i><font ="apple-style-span"="" color="#ff0000">&lt;entry id="38" timestamp="</font><font ="apple-style-span"="" color="#0000ff">2011-10-10T16:32:54</font><font ="apple-style-span"="" color="#ff0000">" username="ContextManagerBase" source="IdeaBlade.EntityModel.Edm.EdmKey:FindClientAssembly"&gt;DataSourceKey: 'VisionCoreEntities_VisionCoreOriginalHere' found in assembly 'iRely.VisionCore.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' at 10/10/2011 4:32:54 PM&lt;/entry&gt;</font></i></div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="39" timestamp="<font ="apple-style-span"="" color="#0000ff">2011-10-10T16:33:02</font>" username="" source="IdeaBlade.EntityModel.EntityServerProxy:CreateInstance"&gt;Loaded IdeaBlade.EntityModel.EntityServerProxy&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="40" timestamp="2011-10-10T16:33:02" username="ContextManagerBase" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblSMSearch&#093;).Where(p =&amp;gt; ((p.strTableName == "tblARCustomer") AndAlso (p.intSecurityUserID == 1)))&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="41" timestamp="2011-10-10T16:33:02" username="" source="IdeaBlade.Core.DynamicTypeInfo:get_DynamicType"&gt;DynamicType constructed _IB_ivGLpM86vXHw6uJ6&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="42" timestamp="2011-10-10T16:33:02" username="ContextManagerBase" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblARCustomer&#093;).Select(t =&amp;gt; new _IB_ivGLpM86vXHw6uJ6() {intCustomerID = t.intCustomerID, strAddress = t.strAddress, strCity = t.strCity, strCompanyName = t.strCompanyName, strCustomerID = t.strCustomerID, strCustomerType = t.strCustomerType, strEmail = t.strEmail, strFirstName = t.strFirstName, strLastName = t.strLastName, strPhone = t.strPhone, strSalesperson = t.strSalesperson, strState = t.strState, strZip = t.strZip, ysnAcceptBO = t.ysnAcceptBO, ysnActive = t.ysnActive}).Count()&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="43" timestamp="2011-10-10T16:33:03" username="ContextManagerBase" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblARCustomer&#093;).Select(t =&amp;gt; new _IB_ivGLpM86vXHw6uJ6() {intCustomerID = t.intCustomerID, strAddress = t.strAddress, strCity = t.strCity, strCompanyName = t.strCompanyName, strCustomerID = t.strCustomerID, strCustomerType = t.strCustomerType, strEmail = t.strEmail, strFirstName = t.strFirstName, strLastName = t.strLastName, strPhone = t.strPhone, strSalesperson = t.strSalesperson, strState = t.strState, strZip = t.strZip, ysnAcceptBO = t.ysnAcceptBO, ysnActive = t.ysnActive}).OrderBy(Param_0 =&amp;gt; Param_0.intCustomerID)&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="44" timestamp="2011-10-10T16:33:07" username="ContextManager" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblARCustomer&#093;).Where(p =&amp;gt; True).OrderByDescending(t =&amp;gt; t.intCustomerID).Count()&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="45" timestamp="2011-10-10T16:33:07" username="ContextManager" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblARCustomer&#093;).Where(p =&amp;gt; True).OrderByDescending(t =&amp;gt; t.intCustomerID).Take(25)&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="46" timestamp="2011-10-10T16:33:08" username="ContextManager" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblARCustomer&#093;).Where(t =&amp;gt; (t.intCustomerID == 38)).OfType().SelectMany(t =&amp;gt; t.tblARCustomerContacts)&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="47" timestamp="2011-10-10T16:33:08" username="ContextManager" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblSMShipVia&#093;).Where(t =&amp;gt; (t.intShipViaID == 4))&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="48" timestamp="2011-10-10T16:33:08" username="ContextManager" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblARTaxCode&#093;).Where(t =&amp;gt; (t.intTaxCodeID == 88))&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="49" timestamp="2011-10-10T16:33:09" username="ContextManager" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblSMTerm&#093;).Where(t =&amp;gt; (t.intTermID == 3))&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; "><i><font ="Apple-style-span" color="#ff0000">&lt;entry id="50" timestamp="</font><font ="Apple-style-span" color="#0000ff">2011-10-10T16:33:09</font><font ="Apple-style-span" color="#ff0000">" username="ContextManager" source="IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor:ExecuteQuery"&gt;Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;iRely.VisionCore.Model.tblARTaxCode&#093;).Where(t =&amp;gt; (t.intTaxCodeID == 88))&lt;/entry&gt;</font></i></div><div style="line-height: 1.4; font-size: 12px; "><font ="Apple-style-span" color="#ff0000"><i><br></i></font></div><div><font ="Apple-style-span" size="4"><span ="Apple-style-span" style="line-height: 25px;">between here I initiated a save process.. More or less&nbsp;</span></font><i><font ="Apple-style-span" color="#0000ff">2011-10-10T16:33:10 or 11</font></i></div><div style="line-height: 1.4; font-size: 12px; "><font ="Apple-style-span" color="#ff0000"><i><br></i></font></div><div style="line-height: 1.4; font-size: 12px; "><i><font ="Apple-style-span" color="#ff0000">&lt;entry id="51" timestamp="</font><font ="Apple-style-span" color="#0000ff">2011-10-10T16:33:15</font><font ="Apple-style-span" color="#ff0000">" username="" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for any 'ICompositionContextResolver' and found no matching exports.&lt;/entry&gt;</font></i></div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="52" timestamp="2011-10-10T16:33:16" username="ContextManager" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for any 'EntityServerSaveInterceptor' and found 'iRely.ConnectionManager.EntityServerSaveManager'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="53" timestamp="2011-10-10T16:33:16" username="ContextManager" source="IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport"&gt;CompositionContext: '-IbDefault-' - Probed for non-default 'IVerifierProvider' and found no matching exports.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;entry id="54" timestamp="2011-10-10T16:33:16" username="ContextManager" source="IdeaBlade.Core.Composition.CompositionHost:GetImportDefSingle"&gt;CompositionContext: '-IbDefault-' - Probed for any 'IEdmSaveExecutor' and found 'IdeaBlade.EntityModel.Edm.EdmSaveExecutor'.&lt;/entry&gt;</div><div style="line-height: 1.4; font-size: 12px; ">&lt;/log&gt;</div><div style="line-height: 1.4; font-size: 12px; "><br></div><div style="line-height: 1.4; font-size: 12px; ">Thanks,</div><div style="line-height: 1.4; font-size: 12px; ">Von</div></div></span><span style="font-size:10px"><br /><br />Edited by Vonzkie - 10-Oct-2011 at 1:41am</span>]]>
   </description>
   <pubDate>Mon, 10 Oct 2011 01:29:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11779#11779</guid>
  </item> 
  <item>
   <title>Resolve Probing Performance! :   Hi Von,Can you upload a debug...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11767#11767</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2992<br /><strong>Posted:</strong> 07-Oct-2011 at 8:42am<br /><br />Hi Von,<div>&nbsp;</div><div>Can you upload a debug log which shows these timing issues?&nbsp; I want to separate "probing" from other initialization activities to see what's taking up the time.&nbsp; </div><div>&nbsp;</div><div>In general, though, you can address startup probing with changes to the CompositionHost IgnorePatterns and/or SearchPatterns.&nbsp; Even though you've already done this, 4 seconds still sounds like a long time.</div><div>&nbsp;</div><div>As for data source key "probing", there are several things going on here which I hope your debug log will explain further.&nbsp; There is probing of the model to look for various attributes needed by DevForce; the Entity Framework will also "probe" for the EDMX metadata files; and a first query or save will also incur some EF overhead for view generation.&nbsp; At various points DevForce will also obtain and load metadata about the model.&nbsp;</div><div>&nbsp;</div><div>Once we see your log we should&nbsp;know more about where the specific problem areas are.</div>]]>
   </description>
   <pubDate>Fri, 07 Oct 2011 08:42:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11767#11767</guid>
  </item> 
  <item>
   <title>Resolve Probing Performance! : Hi,I understand that the Startup...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11766#11766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1228" rel="nofollow">Vonzkie</a><br /><strong>Subject:</strong> 2992<br /><strong>Posted:</strong> 06-Oct-2011 at 8:04pm<br /><br />Hi,<div><br></div><div>I understand that the Startup Probing may have delay depending on the size of the model and there are techniques to control the SearchPattern on&nbsp;Startup&nbsp;Probing. -&gt; We're good with this part</div><div><br></div><div>However, I noticed that even the DataSourceKey has probing based on the TraceViewer w/c is done when the first instance of the query is executed and this is slower than the Startup Probing not&nbsp;to mention the first instance of the Save process.</div><div><br></div><div>Startup Probing - 4 seconds -&gt; Good</div><div>DataSourceKey Probing - 10 seconds -&gt; Very Bad&nbsp;</div><div>Save Probing - 8 seconds -&gt; Very Bad</div><div><br></div><div>The question here is that is there a way to improve this process because this is very unacceptable in our part!</div><div><br></div><div>I thought that the DataSourceKey probing and Saving is only done once when the first instance of the these process was requested and will only be reset if the IIS Server is shutdown or other related Server maintenance procedures.</div><div><br></div><div>My first proposed workaround is to execute a mock query and save just to spin up these probing process at the server, we can't do with the Startup Probing because this is done on the client side.</div><div>But after more or less an hour, it seems that there's an expiration of this probing process because when I try to initiate a query and save once again, there's a probing.....................................................</div><div><br></div><div>If there are no way to improve these probing process, is there a way to create a one-time probing process without an expiration unless the server is shutdown?</div><div><br></div><div>Btw, we're talking about less than 200 entities here, and it's already trimmed down per module because we have 500 tables all in all.</div><div><br></div><div>Your help will be highly appreciated.</div><div><br></div><div>Thanks,</div><div>Von</div>]]>
   </description>
   <pubDate>Thu, 06 Oct 2011 20:04:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2992&amp;PID=11766#11766</guid>
  </item> 
 </channel>
</rss>