Solved

C# Caching on Shared Hosting Server

Posted on 2010-08-31
3
343 Views
Last Modified: 2012-05-10
Is it possible to use data caching on an asp.net 3.5 web application in a shared hosting environment?  I can't find any references to support or deny this question.  

And if it is possible, since its shared memory then, what could one expect for performance metrics?  With no dedicated memory, how much could really be cached even? If data caching is a large need for performance, would it be more advisable to get a VPS solution or dedicated server? Really don't have the money right now and obviously those solutions are better all around, are they a must?

Please include links that will back-up any answer unless you are an absolute expert.

Thanks in advance.
0
Comment
Question by:kruegerste
3 Comments
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 33574153
Best is to go for the dedicated solution.
In shared hosting, memory is always a contraint
0
 
LVL 4

Author Comment

by:kruegerste
ID: 33576086
You have stated the obvious, not very helpful sir.  There were several questions there, I will list them again.

1. Will data caching in an asp.net 3.5 web application even work in a shared hosting environment?

2. Are there baseline metrics for caching performance that one could use against the shared hosting metrics?

3. Is there a way to globally monitor the .net cache for a specific site to obtain some metrics to compare against baseline/ideal?

Please provide any links or documentation supporting your claims, I can't find any myself.

Thanks.
0
 
LVL 51

Accepted Solution

by:
tedbilly earned 500 total points
ID: 33604277
1) Yes, but they might cap the amount of RAM assigned to your application pool which means your cache could cleared more often than you realize or serialized to disk which is slow.  That cap could be very low.

2) You'd have to contact your provider

3) No.  You have to measure cache hit/misses yourself and decide what numbers are valid based on your design.  For example in one application I've written I'm happen if the cache hit/miss ratio is 1/5 but in another I expect it to be 3/4.

The reason you can't find any references using Google is an answer in itself.  If no one else has solved the problem there might not be a solution!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now