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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:14:14+00:00 2026-05-10T23:14:14+00:00

I have a framework that loads a lot of child collections from a non-database

  • 0

I have a framework that loads a lot of child collections from a non-database source. I recently got a use case where the resource is on network drives, and it is taking forever to get the collections loaded. I still need to support the eager loading scenario, but I now need to add lazy loading.

I had the solution to this bookmarked, but now I can’t find that link. Google hasn’t returned any usable links so far. The first reaction is to just add a Boolean parameter to the constructor. I know that this is a bad ‘code smell’ and I remember the answer being something different.

Can anybody point me to a resource on how to solve this problem?

MORE INFO:

The collections are vertical, not horizontal. That’s why loading in the background will not work in this specific case. That data is stored in a hierarchical structure similar to folders. I’ve seen some structures go up to 10 levels deep.

  • 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. 2026-05-10T23:14:14+00:00Added an answer on May 10, 2026 at 11:14 pm

    The solution turned out to be simpler than I thought. I just mixed the modes at different levels. By this I mean that I used eager loading at the topmost horizontal collections, and converted anything else below this to lazy loading.

    It works really well. Now the UI, that uses this framework, is very responsive.

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

Sidebar

Related Questions

I have a Cordova app that runs the jQuery mobile framework and loads pages
I have built an API framework that includes a lot of communication-related options, including
I'm making a game using XNA framework, so I use a lot functions that
I have a wcf service that uses the .net System.AddIns framework to load assemblies
My Google foo is failing me. If I have some framework that can do
We have a pluggable framework that returns ActionResult objects that render things to a
I have a change tracking framework that tracks changed made to domain objects on
I have a jquery ui framework that is constructing the Date Picker elements. I
I have been looking around for a visualization framework that would aid graph visualization
I have a custom MVC PHP framework that has a router class, which calls

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.