[JBoss JIRA] (JGRP-2140) Replace Table with RingBuffer in UNICAST3 and NAKACK2
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-2140?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-2140:
---------------------------
Description:
Table does allocate memory on resizing or compaction; whereas RingBuffer doesn't. Replacing Table with RingBuffer might bring memory allocation rates even further down.
However, using RingBuffer as message store means that the capacity is fixed; when the RingBuffer is full, sender threads would have to block as messages cannot be dropped. Blocking is actually something that should be done in a flow control protocol, such as {{UFC}} or {{MFC}}, and some applications might choose completely non-blocking flow control, e.g. {{UFC_NB}} or {{MFC_NB}}, and blocking in {{UNICAST3}} or {{NAKACK2}} would move part of the blocking/non-blocking aspect away from the flow control protocols.
Measure the impact on performance. Table is a critical class used by NAKACK2 and UNICAST3, and is battle tested. Do this only if the benefits trump the risk.
was:
Table does allocate memory on resizing or compaction; whereas RingBuffer doesn't. Replacing Table with RingBuffer might bring memory allocation rates even further down.
However, using RingBuffer as message store means that the capacity is fixed; when the RingBuffer is full, messages would get dropped. This should not be a big issue as they will get retransmitted anyway, and flow control should actually kick in to throttle senders (this is done now, to prevent Table from growing out of bounds).
Measure the impact on performance. Table is a critical class used by NAKACK2 and UNICAST3, and is battle tested. Do this only if the benefits trump the risk.
> Replace Table with RingBuffer in UNICAST3 and NAKACK2
> -----------------------------------------------------
>
> Key: JGRP-2140
> URL: https://issues.jboss.org/browse/JGRP-2140
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.x
>
>
> Table does allocate memory on resizing or compaction; whereas RingBuffer doesn't. Replacing Table with RingBuffer might bring memory allocation rates even further down.
> However, using RingBuffer as message store means that the capacity is fixed; when the RingBuffer is full, sender threads would have to block as messages cannot be dropped. Blocking is actually something that should be done in a flow control protocol, such as {{UFC}} or {{MFC}}, and some applications might choose completely non-blocking flow control, e.g. {{UFC_NB}} or {{MFC_NB}}, and blocking in {{UNICAST3}} or {{NAKACK2}} would move part of the blocking/non-blocking aspect away from the flow control protocols.
> Measure the impact on performance. Table is a critical class used by NAKACK2 and UNICAST3, and is battle tested. Do this only if the benefits trump the risk.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (DROOLS-1680) Maven plugin for unmanaged KIE Server deployments
by Maciej Swiderski (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1680?page=com.atlassian.jira.plugi... ]
Maciej Swiderski reassigned DROOLS-1680:
----------------------------------------
Assignee: Maciej Swiderski (was: Edson Tirelli)
> Maven plugin for unmanaged KIE Server deployments
> -------------------------------------------------
>
> Key: DROOLS-1680
> URL: https://issues.jboss.org/browse/DROOLS-1680
> Project: Drools
> Issue Type: Feature Request
> Components: kie server
> Affects Versions: 7.1.0.Final
> Reporter: Michael Reynolds
> Assignee: Maciej Swiderski
> Priority: Minor
>
> It would be nice to be able to manage KIE Server deployments to unmanaged KIE servers via a Maven plugin. At the moment you need to rely on bash scripts and/or ant tasks to use the REST API.
> It would be very helpful for when deployments are required to be done via a CI/CD pipeline in Jenkins etc...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (WFLY-9142) Smoke failover test for modcluster subsystem
by Matus Madzin (JIRA)
Matus Madzin created WFLY-9142:
----------------------------------
Summary: Smoke failover test for modcluster subsystem
Key: WFLY-9142
URL: https://issues.jboss.org/browse/WFLY-9142
Project: WildFly
Issue Type: Enhancement
Components: mod_cluster, Test Suite, Web (Undertow)
Affects Versions: 11.0.0.Alpha1
Reporter: Matus Madzin
Assignee: Matus Madzin
Priority: Critical
Add smoke fail over test for modcluser subsystem and undertow which is not covered at the moment in AS TS. Basic test scenario which shows that modcluster works which should be a part of this testsuite.
One balancer + two workers and check whether request is redirected to the second node when the original node stops responding.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months