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 ;) 

 
Mateusz Struzik
Reply

Hi Sorry for late reply 

Application can be sloved hosted on my local IIS so there is no inactivity and the slownes can happened. Anout the sql  server connection it seems fine of course it is localhost so not best server but still in other application it seems fine. 

 

Probably the way how projects was setup and cusomize impact the performance, i will try to investigate this more but hanks  for your advice and help 

 

Mateusz

 

You must be logged in to post in the forum