RE: WSE 3.0 SOAP Router for load balancing



Hi Steven,

Thanks for your reply, it answers my question.

It is not allways possible for us to go the hardware or windows based load
balancing way as it depends on customer infrastructure.

I had just understood that it was possible to do load balancing
functionallity based on configuration of the refferalCache, but unfortunately
this is not the case.

I was going to take a custom approch to "Route SOAP Messages Based Upon
Their Content", which you also describes in #2. Then I could store the
routing information in a database (or xml file), and maybe even do a mix of
load balancing and content based routing in the custom routing functionality.
It leaves an issue of a dynamic URI in the SoapActor attribute of the
recieving services.
*************
[SoapActor("http://SoapRouterName/RoutedService.asmx";)]
public class StockTraderService : System.Web.Services.WebService
{
//Web service implementation
}
*************
To make it all configurable, it would be great if this URI could be fetched
from the database as well, but as far as I know this is not possible because
this is compiled code - or is it?

Sincerely

Glenn M. Sørensen

"Steven Cheng[MSFT]" wrote:

Hi Glenn,

For the WSE 3 loading balance, I think you can consider the following
approaches:

1. Is it possible that you use hardware or windows operating system's
loading balance feature? Thus, you can simply let a single front server
accept the requests and let the underlying loading balance framework to
redirect requests to back end service server

2. WSE 3.0's rounter feature is mainly used for hidden the backend service
server from front end client users. If you want to use it in a loading
balance model, I think you may need to write the custom SoapRouter and do
the loading balance redirect code logic in it:

#Routing SOAP Messages with WSE
http://msdn2.microsoft.com/en-us/library/aa529328.aspx

#How to: Route SOAP Messages Based Upon Their Content
http://msdn2.microsoft.com/en-us/library/aa528755.aspx

As in the "Route SOAP Messages Based Upon Their Content" example indicate,
you can programmatically determine the target url you want to redirect a
WSE request, and for your custom loading balance router, you may need to
give the proper target servers(from all balance servers) url. How do you
think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.











--------------------


Hi,

I've read several places and in several books, that you can implement load
balancing with WSE 3.0 and the httpHandler
Microsoft.Web.Services3.Messaging.SoapHttpRouter component (WS-Referral). I
have only been able to implement the chain and content.based routing models.

Does anyone know if and how you implement the load balancing routing model?

/Glenn

.



Relevant Pages

  • Re: 4e - so whats the deal?
    ... by custom partially overlapping custom advantages, ... More balance between stats and skills, lots of custom stuff has been ... heartfelt message about the human condition and stuff blowing up. ...
    (rec.games.frp.gurps)
  • Re: And, another thing!
    ... cook and only know how to eat need to learn to balance the: ... "You say that it is your custom to burn widows. ...
    (rec.sport.football.college)
  • Re: Gibson 50s or 60s neck?
    ... I have had the custom for 21 years and never noticed any problem playing ... sitting down. ... Do yours balance ok, when sat down? ...
    (uk.music.guitar)
  • Re: BOOTING SDI WITH SYSLINUX
    ... How USB disk load support is implemented? ... Do you use some custom load procedures instead of BIOS int ...
    (microsoft.public.windowsxp.embedded)
  • Re: ARC VT100 repair and test.
    ... perfect balance and everything was within tolerance. ... There was virtually no 2H in the distortion spectra once I de-bugged the amp, ... It isn't UL, strictly, because some of the load is distributed to ... An R69S BMW would have been a far better bike than a bloomin squaffer. ...
    (rec.audio.tubes)