Developer forum

Forum » Development » Local solution perofrmance problem

Local solution perofrmance problem

Mateusz Struzik
Reply

Hi 

i am starting this thread just to gather some good practices and hints you have about development process. 

I am dealing with some preformance problem when i am tryning to run DW 9 projects locally, with my db on  localhsot and solution run  from VS 2022. 

It seesm like site is couple more times slower than on for example stg env. Also i hit sometimes  a problem with page load or very logn time to make app up and running. 

Do you have maybe a overall hints what i can do with that ? Maybe there is some pattern that i can use for my local solution architecture

 

Regards 

Mateusz 


Replies

 
Mateusz Struzik
Reply
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Could it be startup time of your site in IIS? By default, IIS will shut down your site's application pool after 20 minutes of inactivity. Then afterwards when you use the site again, .NET and DynamicWeb need time to load and start up which takes quite a bit of time.

On a staging or production environment, the site may be always on, eliminating that startup time.

Imar

 
Shiwanka Chathuranga
Reply

Other than what Imar suggest please check your Local SQL server performance and also connectivity method.

In Admin Panel goto Sql connection settings and verify your connecting to local DB ;) 

 

You must be logged in to post in the forum