bridetobe
  •  bridetobe
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2013-01-21T19:55:31Z
hi all

I am trying to add a forum in our site. Ofcourse i used Yaf, everything is successful. But,

Yaf loads very slow in the startup, there after it is ok. The timer in the bottom shows 2+ seconds to load the home page.

The site don't have any contents it is empty. I am hosting in shared hosting from arvixe, if the site grows i don't have problem moving to vps.

I am very much puzzled whether to use yaf or something else as the initial load time is very high

any suggestions to improve the load time is very much appreciated

forum

http://forums.bridetobe.ca/ 

thanks
Sponsor
Thantis
2013-01-21T22:59:31Z
The load time doesn't have anything to do with YAF, most likely its in the host servers configuration. This usually arises when the server is shutting the app down frequently and traffic to the site is low, this is meant to save resources on the server by shutting the app down during inactivity. Search the forum using the search tool, there are a ton of posts explaining how to change the behavior if you have access to the hosts, otherwise contact your provider and see if they are willing to change the idle timing for app pools.
Thantis
2013-01-21T23:02:12Z
The load time doesn't have anything to do with YAF, most likely its in the host servers configuration. This usually arises when the server is shutting the app down frequently and traffic to the site is low, this is meant to save resources on the server by shutting the app down during inactivity. Search the forum using the search tool, there are a ton of posts explaining how to change the behavior if you have access to the hosts, otherwise contact your provider and see if they are willing to change the idle timing for app pools.
bridetobe
  •  bridetobe
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2013-01-21T23:07:15Z
hi

thanks for the reply.

But i have not started using the forum. I am just trying it.

To load the home page it is taking more time, that is my concern

thanks
squirrel
2013-01-22T03:04:50Z
Originally Posted by: bridetobe 

hi

thanks for the reply.

But i have not started using the forum. I am just trying it.

To load the home page it is taking more time, that is my concern

thanks



The startup time you are seeing is the same delay as you would see when you open a program on your computer for the first time during a login session. That program takes a minute or more to load itself into memory before it can process your requests. YAF is a very powerful ASP.NET application that has the same needs. Before it can deliver you a single page, the application has to be started by IIS (the Microsoft Web Server software) and loaded. Then it can process your requests. Server configuration can affect YAF performance both in application startup as well as running. The particular delay you have always comes from an ASP.NET application loading into memory for the first time. IIS also shuts down applications that are idle (not doing anything) for a certain amount of time. Since IIS 'quits' the application automatically if you're not using it - the next time you try to load it, the application must again be re-loaded into memory.

High usage websites don't suffer from 'application shutdowns' because the site stays active. But shared hosting services are setup to get the most out of the hardware - so applications that are idle for as little as 5 minutes will be stopped, and your 'resource allowance' is also limited, which greatly slows down YAF startup time.

For YAF to be 'quick on the launch' the application pool and YAF application need to be launched, and IIS must be configured not to shutdown an idle application. This is not a setting available to users of shared hosting. You only get those options when you run a VPS or dedicated server of your own.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
bridetobe
  •  bridetobe
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2013-01-22T03:53:15Z
Thanks for the reply,

Your reply make sense.

I will launch my forum using YAF and wait and see for 1 month. If there are no issues then i will use YAF

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved