Forum  General Visual ...  How do I...?  cpu usage
Previous Previous
 
Next Next
New Post 3/14/2010 8:43 PM
  ddks
240 posts
4th Level Poster


Re: cpu usage 

Thanks Mitch good info,

We already have shared storage setup so that is not a problem. what i am wondering about if the session state stuff. I read webgui docs and they talk about using version 6.4 and a state server (db or simply in memory). Without it i don't think a load-balancer setup would work ?!

I am a little concerned about the approach you described using different virtual directoriies on the same machine on the "we have to recycle IIS every night" part as well as it doesn't cover complete scaling this (e.g. this will only work for say 4 or so virtual directories on a server after which we need to add another server).

Not sure if anyone on webgui is reading this but I simply want to know how we can get to a model so that we can scale by simply adding servers to our farm. Do we absolutely need a state server or is there an alternative architecture?

Thanks,

daniel 

 
New Post 3/16/2010 3:49 PM
  palli
11189 posts
1st Level Poster




Re: cpu usage 

Hi Daniel,

As I see it, there are two types of "load-balancing" you might be talking about.

The first is what Mitch is talking about. He has multiple application pools, one for each virtual directory. Then a common "entry point" into the app, where there is some kind of logon form which decides which virtual directory should handle that particular load request. After that has been decided, that particular user (session) stays with that virtual directory until it's destroyed or disconnected. The next user logging in, might be directed to the same or different virtual directory, and will stay there until closed too. For this type of "load balancing" you don't need a stateserver. For this type, then in most cases you can add servers at will, unless there is something within the application that prevents it. If they just need a connection to a common database for their operations, this should in most cases be possible.

The other is an actual load-balancing where you have multiple servers in a farm where a user's session might be transfered from application pool A to pool B without loosing the session and without the user knowing. For this type you need a stateserver.

Does this help ?

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 3/17/2010 2:55 AM
  ddks
240 posts
4th Level Poster


Re: cpu usage 

Ok yes, maybe i didn't atriculate this properly but my question was answered. I can only do the load balancing using a state server (in the architecture we are using). Which means i need to be on 6.4 correct?

Daniel

 
New Post 3/17/2010 5:20 PM
  palli
11189 posts
1st Level Poster




Re: cpu usage 

Hi Daniel,

When I wrote the Stateserver article on the Wiki, I used version 6.4, so I never tested it myself on 6.3.x. According to one of the Forum thread links, Ori is stating that with a minor change to web.config you should be able to use it for 6.3 also.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  cpu usage
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS