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

  • Home
  • SEARCH
  • 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 web application Project having RPC call. one RPC async is working fine.
If you have the following: Asp.Net MVC 2 project having object classes that define
I am having the following problem. I have a main project, and some extra
I have the following task. Having three models Project, User and PurchaseOrder. I want
I'm having the following issue with my hibernate 3.6.10 project: org.springframework.beans.factory.BeanCreationException: Error creating bean
I am having a project which will have country dropdown at the top to
Over the years I have vacillated between having my project/source folders in a directory
I have the following project structure using a Domain Model, StructureMap and Fluent NHibernate:
I have the following in my project (MVC3) N2CMS 2.2.1 (from nuget). I am
I'm having trouble using the Core Plot framework in my project. I tried following

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.