Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8550907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:04:27+00:00 2026-06-11T14:04:27+00:00

I have a few sets of data that are used by all users on

  • 0

I have a few sets of data that are used by all users on site. I would traditionally look at caching these.

My current EF setup uses uow and repository patterns, so I tend to use context for a single transaction and dispose of it.

I plan to introduce some user interaction, so the data that was once entirely static, won’t be as users will be allowed to add, delete and perhaps edit. I estimate that data will still only be refreshed every 2 minutes or so still a reasonable candidate for caching.

One option would be to keep with the cache idea, but retrieve and recache after each change. The biggest data sets will have around 5-10k rows.

Another option I thought of would be to have a single context for each data set which I keep open (static) and manage the data that way. I’m pretty new to EF so I’m not sure whether this is a good or bad idea but on face value it seems similar to the way caching would work. The only thing I’m unsure of is how to deal with the additional table data as I believe you can’t track and use Include().

Anyone got advise on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:04:28+00:00Added an answer on June 11, 2026 at 2:04 pm

    Took a different approach to the problem.

    Rather than per transaction, I now raise a uow per httprequestwhich solves the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two sets of data that contains some of the same information. This
We have a few customers with large data sets and during our upgrade procedure
I have a method that sets up my linq data context. Before it returns
I'm having a few million/billion (10^9) data-input-sets, that need to be processed. They are
Within the frame of a chess applet, I have a few sets of such
I am looking for a design pattern that handles large data sets over the
Is there any method in R to find out what data-sets have been attached.
I have an application which is used for data analysis and I'm having a
I need to resample big sets of data (few hundred spectra, each containing few
I have an app that has a few setup screens that need to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.