Solved

C# Caching on Shared Hosting Server

Posted on 2010-08-31
3
377 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
[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
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:
Ted Bouskill 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

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!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 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