473,396 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to maintain affinity in webgarden (multi CPU)?

Hi,

I would like to know, if it is possible to maintain affinity by having a
webgarden for our ASP.NET application in multi CPU server?
And of course if possible without or minimal code change :)

Thanks in advance,

--

SevDer
http://www.sevder.com
A new source for .NET Developers

Jan 27 '06 #1
1 3747
Hi SevDer,

Welcome to the MSDN newsgroup.

As for the webgarden of ASP.NET web application, it can help us schedule
one ASP.NET appplication running across multiple worker processes. However,
the webgarden only contain setting for CPU mask which determine the worker
process count for serving the application. There is no other settings on
Thread affinity in webgarden based ASP.NET web application. So each request
of ASP.NET application using webgarden are not guaranteed to be served by
the same worker process(even the different postback requests for the same
page...). So when using webGarden, we have to take care of those state
management things like session state(Inproc), application cache since
they're all process specific.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Reply-To: "SevDer" <se******@sevder.com>
| From: "SevDer" <se****@newsgroup.nospam>
| Subject: How to maintain affinity in webgarden (multi CPU)?
| Date: Fri, 27 Jan 2006 14:07:44 -0500
| Lines: 16
| Organization: http://www.sevder.com
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <et**************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: mail.dtfares.com 68.167.20.2
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:374109
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
|
| I would like to know, if it is possible to maintain affinity by having a
| webgarden for our ASP.NET application in multi CPU server?
| And of course if possible without or minimal code change :)
|
| Thanks in advance,
|
| --
|
| SevDer
| http://www.sevder.com
| A new source for .NET Developers
|
|
|
|

Jan 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Thomas Womack | last post by:
If I have a dual-processor hyperthreaded machine (so with four CPU contexts), will a python program distribute threads over all four logical processors? I ask because I'm fairly sure that this...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
4
by: DMAC | last post by:
Hi, Ive been told this, but I hope it is NOT true. I have an sql server2000 installation running on a server that has four processors. It is on a active network but is not the domain controller so...
0
by: Jeremy | last post by:
Hello all, I've done a couple of hours searching for answers to this question, but couldn't find a definite answer. I'm hoping someone here can just give me a quick answer. I have a dual...
3
by: DrBytes | last post by:
Hello, I have a question about webgardens. As I understand it, a webgarden is physically one box with multiple processors in it. In the MSDN documentation about webgardens they mention : "If...
3
by: MattB | last post by:
I have a asp.net 1.1 application that a client is running at a hosting company. The hosting company has WebGarden = 1 on that machine's machine.config, and we get the following error in the...
0
by: Adam Benson | last post by:
Hi, I know this has cropped up before because I've searched on it - but the answers (use imagecfg.exe) don't work in this case. Is it possible to set the process affinity of a .NET exe ? So...
5
by: not_a_commie | last post by:
So I have a motherboard with multiple CPU sockets. It seems that if I create a StopWatch on one thread and then call the Elapsed member from a different thread that sometimes I get a tick count...
7
by: not_a_commie | last post by:
Here's some code I wrote trying to track down a deadlock bug. I was unable to make this code deadlock on my Core 2 Duo. I'd be interested, though, if y'all think it is the right way to use thread...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.