[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

inet cache expiry affecting response times

Posted on 2013-01-23
3
Medium Priority
?
382 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

649 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