[Design of Clustering on JBoss (Clusters/JBoss)] - Re: Some cluster enhancements...
by ScottMarlowNovell
anonymous wrote :
| anonymous wrote :
| | Hmm, ability to call a single member other than coord seemed like such an obviously good thing that I had to double check to confirm it wasn't already there! :)
| | Shouldn't the param be a ClusterNode, which is the type returned by getClusterNodes()?
| |
| Shouldn't the param be a ClusterNode, which is the type returned by getClusterNodes()?
Definitely, good point!
anonymous wrote :
| anonymous wrote :
| | 2. A load balancing policy based on FirstAvailable that always favors a same machine choice.
| |
| This sounds similar to http://jira.jboss.com/jira/browse/JBAS-4455 which Galder Zamarreno is working on. Probably you guys should coordinate.
|
JBAS-4455 seems a little different but there could be opportunities to combine our approaches.
anonymous wrote :
| anonymous wrote :
| | 3. A load balancing policy that always picks the ha-singleton server (depends on ha-jndi and a server side ha-singleton).
| |
| OK. How does it work?
|
A ha-singleton binds its location (ip address + port) to ha-jndi. The load balancing policy does a ha-jndi lookup of the singleton node and does a little magic to determine which server target is the singleton. Perhaps this could be combined with the JBAS-4455 solution, although it might be easier to understand for application developers to have separate solutions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101434#4101434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101434
16 years, 6 months
[Design of Clustering on JBoss (Clusters/JBoss)] - Re: Some cluster enhancements...
by bstansberry@jboss.com
"ScottMarlowNovell" wrote : Hi,
|
| I have been working on a few small enhancements, some of them are complete and some need more work. I would like to check in the following changes into some 4.x or 5.x release if we agree that the changes are good:
Great. It would have to be in trunk; 4.x is pretty much in maintenance mode.
anonymous wrote :
| 1. new HAPartition methods for calling a specific cluster targetNode (identified with opaque server reference that is currently a org.jgroups.stack.IpAddress). This was useful for sending messages to a specific target node in the cluster.
Hmm, ability to call a single member other than coord seemed like such an obviously good thing that I had to double check to confirm it wasn't already there! :)
Shouldn't the param be a ClusterNode, which is the type returned by getClusterNodes()?
anonymous wrote :
| 2. A load balancing policy based on FirstAvailable that always favors a same machine choice.
This sounds similar to http://jira.jboss.com/jira/browse/JBAS-4455 which Galder Zamarreno is working on. Probably you guys should coordinate.
anonymous wrote :
| 3. A load balancing policy that always picks the ha-singleton server (depends on ha-jndi and a server side ha-singleton).
|
OK. How does it work?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101410#4101410
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101410
16 years, 6 months
[Design of the JBoss Web Container] - Digging under the servlet api - howto help
by parki
Hello!
Just new to JBoss, and loving it, especially RichFaces, which is really tops.
We have a related project, and I'd like to host this app in JBoss as well, but wondering about how to implement. There is a device (which we are building) which needs to open an HTTPs session to the proposed app in JBoss - the intention is to keep the connection open, and send/receive XML packets across this connection.
So, we can't use the servlet api, as the outputStream will be flushed and can be cleaned up after a response - we need to keep a reference to the input and output streams and manage ourselves.
Thus, I think we need to get under the Servlet API layer, and take more control over the connection.
Can anyone point me to where in JBoss this gets handled?
A simple example would be awesome, but even just a quick blurb and pointers into the classes within JBoss that we'd need to be aware of will greatly help.
Many thanks - appreciated.
parki...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101401#4101401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101401
16 years, 6 months