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 266693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T23:27:56+00:00 2026-05-11T23:27:56+00:00

Having a project with following requirements in mind. data reading intensive application. 100 max

  • 0

Having a project with following requirements in mind.

  • data reading intensive application.
  • 100 max concurrent users a times. Application have very high traffic
  • Though data is huge it is getting modified only once a day

Decided to use subsonic cause of ease of development and potential to work in high traffic environment.

Though few things are not yet found/solved to work with SubSonic 3

  • Which type of layer to use Active Records, Repository, Linq To SQL
  • working with paging / sorting stored procedures (cause they will give better performance over inbuilt paging mechanism, when displaying 10000+ rows with paging and sorting. right?? )
  • Caching, with project requirement it is quite clear, heavy use of caching is required. But could not find suitable solution, which will work with subsonic.
    do I have to create separate layer for it and if yes, a short example would be helpful.
  • 1 1 Answer
  • 1 View
  • 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-05-11T23:27:56+00:00Added an answer on May 11, 2026 at 11:27 pm

    I wrote a CacheUtil class for subsonic 2.x ActiveRecord. It’s based on some code someone posted on the old subsonic forums. (This is from a forum that was deleted before the last forum was removed. This is why software forums should be permanent.) Here is an example of a cache Find method. You could adapt it to ss3. There are also inserts, fetchall, delete, clear, etc. Rob Connery said at the time that caching was problematic, and it was left out of ss2 on purpose. By using HttpRuntime.Cache I share the cache between a web application and service simultaneously. I believe I can do this since it’s a small application, always on a single server.

    public static RecordBase<T> Find<T, ListType>(object primaryKeyValue)
        where T: RecordBase<T>, new()
        where ListType: AbstractList<T, ListType>, new()
    {
        string key = typeof(T).ToString();
        if(HttpRuntime.Cache[key] == null)
            FetchAll<T, ListType>();
        if(HttpRuntime.Cache[key] != null)
        {
            ListType collection = (ListType)HttpRuntime.Cache[key];
            foreach(T item in collection)
            {
                if(item.GetPrimaryKeyValue().Equals(primaryKeyValue))
                    return item;
            }
        }
        return null;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# GUI application that references a Managed C++ project, which requires
In the following scenario: I got a project having a catalog of currently some
In my project, I have defined the an annotation similar to the following: (Omitting
In the situation of having a project initiated by a marketing or sales team,
Having downloaded Pango and GLib from the GTK+ Project's Win32 downloads page and having
I am having a problem getting my project to link with the PhysX libraries
I am having some trouble converting an old project from VS6 to VS2005. At
I'm having to start building the architecture for a database project but i really
I'm having trouble deciding if I want a project of mine to be web-based
I am having problems with implementing Observer pattern in my project. The project has

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.