TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tanul Bhasin
NA
5
1k
SQL Cache Dependency Issue!!
May 1 2014 3:56 PM
After implementing the SQL cache dependency logic, SQL connection with the client remains open till the application stop because in this case we can only use Application_Start and Application_Stop methods of Global.asax for the creation of connection. This will ultimately decrease the performance of the website. Performance issues will occur when millions of users hit the hosted application in which
sql
connection is open . Is there any way to create SQL cache connection only when any changes occur into the table in the database.
Consider a scenario:-
1. Data fetch from database and inserted into the cache.
2. Now connection close.
3. When data changes in the database. connection opens and cache goes null.
4. Data fetched and inserted into the cache.
5. Connection of client and SQL closed.
Is it possible to create this scenario because client will never approve a code in which SQL and client connection remain open because it leads to security issues?
Reply
Answers (
0
)
How to design database tables for payroll
how to generate sql database automatically while running