Solved

C# Caching on Shared Hosting Server

Posted on 2010-08-31
3
353 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:
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Loop not working 29 48
SSL https .net web site force redirect 3 38
C# HTTP GET method sample code 3 42
how to read json value 2 32
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

18 Experts available now in Live!

Get 1:1 Help Now