Solved

Application State, Public Static/Shared Member or Database

Posted on 2012-03-14
1
212 Views
Last Modified: 2012-03-20
Hello

I have many pages on my site that draw data from a DB, there are small parts of text in places on the page that are user entered and editable but do not change very often, stored in the DB.

I can't cache the pages as the other data on the page needs to be in real time, but can I store these pieces of text else where?

If when the web app starts if I get all these pieces of text and store them in app state/static member would this increase performance? Or is there a better way to go about it?

Also if this text is updated can I have a method that will update the app state/static member so the changed text becomes available without restarting the app?

Many thanks
0
Comment
Question by:badpilot
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37722023
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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 …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

792 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