[JBoss JIRA] Created: (JGRP-511) FC: dynamically adjust credits
by Bela Ban (JIRA)
FC: dynamically adjust credits
------------------------------
Key: JGRP-511
URL: http://jira.jboss.com/jira/browse/JGRP-511
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.5
FC currently has a static number of credits (max_credits). It would be beneficial to implement something similar to TCP's exponential backoff and slow start, to take the message loss rate into account.
Goal: when there is an overload, we reduce the credits in order to avoid compounding the overload by sending messages. On the other hand, we can send more messages when the receiver(s) have free capacity. To do this, each receiver sends the number of credits it can accept with its responses. By default, this would be the default number of credits (in TCP: size of the sliding window).
DESIGN:
NAKACK (and/or UNICAST) send the loss rate (rolling average of number of messages missing over number of messages received, per sender) when it exceeds a certain value (defined in NAKACK,UNICAST) up the stack.
FC looks at the loss rate and slices the number of credits for that sender in half (exponential backoff). On the next response, it piggy backs the new number of credits, so that sender will block sending messages.
When the loss rate drops below a certain (predefined) value, NAKACK sends another event up the stack. FC then increases the credits by a predefined value (slow start). Next time, it increases the value by the predefined value by 2 and so on, until the max number of credits have been reached again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Resolved: (JBCACHE-89) Allow Specifying Custom Interceptors in XML Configuration
by Mircea Markus (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-89?page=all ]
Mircea Markus resolved JBCACHE-89.
----------------------------------
Fix Version/s: 3.0.0.ALPHA1
Resolution: Done
resolved all but the documentation (docs cannot be updated at this time as the layout is being changed for i18n).
http://jira.jboss.com/jira/browse/JBCACHE-1391 was created to capture this.
> Allow Specifying Custom Interceptors in XML Configuration
> ---------------------------------------------------------
>
> Key: JBCACHE-89
> URL: http://jira.jboss.com/jira/browse/JBCACHE-89
> Project: JBoss Cache
> Issue Type: Feature Request
> Affects Versions: 1.2
> Reporter: Daniel Gredler
> Assigned To: Mircea Markus
> Fix For: 3.0.0.ALPHA1, 3.0.0.GA
>
> Original Estimate: 1 day
> Time Spent: 30 minutes
> Remaining Estimate: 7 hours, 30 minutes
>
> It would be nice to be able to add interceptors via the XML configuration files. Indeed, in TreeCache.java the following comment exists, which may indicate that this feature is already planned:
> // Create the interceptors in the correct order (later to be defined in XML file)
> createInterceptorChain();
> A possible example configuration would be:
> <server>
> <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar" />
> <mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=TreeCache">
> ...
> <attribute name="Interceptors">
> <interceptor>com.foo.project.MyInterceptor</interceptor>
> </attribute>
> ...
> </mbean>
> </server>
> Something along the lines of the following method would then be able to add the custom interceptors (in TreeCache.java):
> public void setInterceptors(Element interceptors) throws Exception {
> NodeList list = interceptors.getChildNodes();
> for(int i = 0; i < list.getLength(); i++) {
> org.w3c.dom.Node node = list.item(i);
> if(node.getNodeType() != org.w3c.dom.Node.ELEMENT_NODE)
> continue;
> NodeList children = node.getChildNodes();
> if(children.getLength() != 1)
> continue;
> org.w3c.dom.Node childNode = list.item(0);
> if(childNode.getNodeType() != org.w3c.dom.Node.TEXT_NODE)
> continue;
> String className = childNode.getNodeValue();
> if(className == null || className.length() == 0)
> continue;
> Interceptor interceptor = createInterceptor(className);
> addInterceptor(interceptor_chain, interceptor);
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (JBCACHE-1283) Remove MBEAN tag from configuration files
by Manik Surtani (JIRA)
Remove MBEAN tag from configuration files
-----------------------------------------
Key: JBCACHE-1283
URL: http://jira.jboss.com/jira/browse/JBCACHE-1283
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 2.1.0.GA
Reporter: Manik Surtani
Assigned To: Manik Surtani
Fix For: 3.0.0
Replace the <mbean ... /> container tag in config files with a <jbosscache ... /> tag.
Would entail:
1) update all sample configs and docs to reflect this "new" element
2) document how the configuration will still accept old <mbean ... /> tags, but this is deprecated
3) document how the <mbean ... /> tag can cause problems with AS 5 (unintentional deployment), and how this can be done properly with the MC using the new <jbosscache ... /> tag
Currently the XMLConfigurationParser looks for a <mbean ../> element, under which it pulls out more specific JBoss Cache elements.
This could easily change so the parser to accept this, or on failing to do so, to pick up a <jbosscache ... /> container element. And log a deprecation warning when using the old <mbean ... /> container tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Resolved: (JBWEB-17) support mapping multiple Connectors to different vhosts
by Remy Maucherat (JIRA)
[ http://jira.jboss.com/jira/browse/JBWEB-17?page=all ]
Remy Maucherat resolved JBWEB-17.
---------------------------------
Resolution: Rejected
The Tomcat architecture uses a hierachical view that is good for many things, including sensible configurability, but in return is not as flexible for mixing and matching connectors with hosts and individual webapps.
Options include access restriction valves or "URL" rewriting using the JBoss Web rewrite valve, which will provide something transparent to your webapp.
> support mapping multiple Connectors to different vhosts
> -------------------------------------------------------
>
> Key: JBWEB-17
> URL: http://jira.jboss.com/jira/browse/JBWEB-17
> Project: JBoss Web
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Tomcat Module
> Reporter: Jan Hecking
> Assigned To: Remy Maucherat
>
> See forum posting:
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870728
> I'd like to deploy several web apps in a single JBoss server. Some of these apps are for internal use only. For security reasons it is required that the internal apps are not available on the same port as the external apps. Using regular vhosts is not sufficient as the vhost being accessed entirely depends on the Host: HTTP header sent by the client so requests to the "internal" vhosts cannot be blocked by the firewall on the TCP/IP layer but only by analyzing the HTTP request on the application layer.
> As Scott Stark suggested in a reply to my forum posting it would be great if different Tomcat HTTP Connectors could be mapped to each vhost.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months