WEB开发网
开发学院软件开发Java Weblogic中的load banlance问题 阅读

Weblogic中的load banlance问题

 2009-09-22 00:00:00 来源:WEB开发网   
核心提示: *If enabled, the associated message producers are load balanced on every send() or publish() .*If disabled, the associated message producers are loa

*

If enabled, the associated message producers are load balanced on every send() or publish() .

*

If disabled, the associated message producers are load balanced on the first send() or publish().

ServerAffinityEnabled:   

Specifies whether a server instance that is load balancing consumers or producers across multiple members destinations of a distributed destination, will first attempt to load balance across any other physical destinations that are also running on the same server instance.

Load Balancing Policy:

Determines how messages are distributed to the members of this destination.

Round-Robin

- The system maintains an ordering of physical topic members within the set by distributing the messaging load across the topic members one at a time in the order that they are defined in the configuration file. Each WebLogic Server instance maintains an identical ordering, but may be at a different point within the ordering. If weights are assigned to any of the topic members in the set, then those members appear multiple times in the ordering.

Random

- The weight assigned to the topic members is used to compute a weighted distribution for the members of the set. The messaging load is distributed across the topic members by pseudo-randomly accessing the distribution. In the short run, the load will not be directly proportional to the weight. In the long run, the distribution will approach the limit of the distribution. A pure random distribution can be achieved by setting all the weights to the same value, which is typically set to 1.

上一页  1 2 3 4 5  下一页

Tags:Weblogic load banlance

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接