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
-
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
-
-
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.
-
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