Solved

inet cache expiry affecting response times

Posted on 2013-01-23
3
379 Views
Last Modified: 2013-04-15
Hey guys/gals.
Have another .net issue.

When testing my system under load, and the inet cache is turned on, with an inet cache expiry set to 60 mins, after 60 mins, we get a massive drop in transaction response times, and then a spike again to where it was, and this goes on for another hour.

We've done a bunch of digging around and have no idea why its doing this. If anything, the response times should spike when it dumps its cache and has to go back to the database to get the objects again....

Here is what the response times look like.

Response times with caching.

Note : When we turn off the inet cache, we don't get this behavior, response times are stable, however a little worse (as expected) due to no caching.

These are 2 response times on the graph.
0
Comment
Question by:samabdelhamid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 38815425
Not a .NET guy, but I could there be some type of "cache" cleanup?  Sort of like garbage collection in Java?
0
 

Author Comment

by:samabdelhamid
ID: 38817555
Yeah, there's GC in .net.
In fact, GC originated with .NET,  then it became standard in java, and that's how it got big...

What we see in that graph, is GC.
Everything makes sense ie., Gen 0,1 and 2 heap size all drop, GC goes up, etc.
However, it shouldn't affect it that much. The drop in response times are significant. In fact they are huge....
We can't understand why the drop is so high, or why it affects the response times so much.

Could we be caching too much and it's having a massive impact when the cace expires..?
0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 38818680
I know in some of our early Java apps when GC ran it impacted performance drastically.  

I was not directly involved and this was 10 years ago, but IIRC we were led to believe is that it was due to a combination of things  various things.

The amount of memory the JVM was allowed to use along with the amount of things we were caching and what programs were not cleaning up.

When GC ran if there was a lot of stuff to clean up thrashing started as things were "re-cached."  The people that set it up originally limited the amount of memory the JVM was allowed to use because of limited physical RAM and they did not want to do any paging.

Since I not a .net guy, I can only suggest things based on Java.  So, I would suggest you look at how much you are caching, how much memory .net is using, and how much it is allowed to use.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question