Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Initial performance when opening or querying NuGet feed from Visual Studio Package Manager

    Scheduled Pinned Locked Moved Support
    performancevisual-studioprogetnuget
    3 Posts 2 Posters 16 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y Offline
      ygeelen-tb
      last edited by

      It takes many seconds to browse or search through a ProGet NuGet feed from Visual Studio (both proxy feeds to nuget.org and private feeds).
      Sometimes we even need to cancel the search operation and retry because we get no results.

      I already tried some things which seem to be an improvement:

      •      Configure the IIS application pool StartMode to AlwaysRunning
        
      •      Configure the IIS website to Preload Enabled = True
        
      •      Check the ProGet cleanup interval: for all feeds this is a frequency of 1 day between 2:00 and 7:00. I read that ProGet reindexes feeds whenever cleanup occurs and that this slows down a lot; however nobody works between those hours.
        
      •      Configure the IIS application pool Recycling Regular Time Interval. This has a default value of 1740 minutes or 29 hours. I have set this to 0.
        
      •      Configure the IIS application pool Idle Time-Out: it is set to 10 minutes by default. I have set the Idle Time-Out to 0 (=never let the IIS worker process shut down).
        
      •      Configure the IIS application pool Specific Times: 01:00:00.
        

      Are there any other measurements I should take or do you have more advice?

      I recently upgraded to ProGet 3.6.1 (Build 6) and I'm using IIS hosting and a SQL Server Express database.

      Product: ProGet
      Version: 3.6.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        If ProGet is idle for a while, then it will shut down to conserve system resources... however, you've already identified how to fix it (Idle Time-Out = 0). That will only effect the first request, however.

        Otherwise, the slowness is coming from your connector to NuGet.org; this is a known issue (nuget.org's poor responsiveness), and one we plan to rectify at some point in the future by creating a local index of nuget.org (see the roadmap.

        1 Reply Last reply Reply Quote 0
        • Y Offline
          ygeelen-tb
          last edited by

          I've read that NuGet's architecture is being redesigned for version 3.0, which should also improve the performance.

          http://blog.nuget.org/20150608/nuget-server-status.html
          http://blog.nuget.org/20150601/nuget-3.0-rc2.html

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation