[JBoss JIRA] (JGRP-1711) DELAY2: Do not keep the thread waiting
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1711?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-1711:
---------------------------
Fix Version/s: 3.4
Radim,
I'm busy with 2 other issues. If you submit a pull request by Friday morning, I can get your fix into 3.4, otherwise I'll push it into 3.5.
> DELAY2: Do not keep the thread waiting
> --------------------------------------
>
> Key: JGRP-1711
> URL: https://issues.jboss.org/browse/JGRP-1711
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 3.4
> Reporter: Radim Vansa
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.4
>
>
> Current version of the DELAY protocol is rather simplistic - the thread is just put to sleep for some period of time. However, this does not reflect the network delay very well as it consumes the thread during the latency period.
> As the protocol should be usually placed just above TP, I'd suggest that for outcoming delay, the message/event should be placed into priority queue and another dedicated thread should pass it down after the latency period.
> For the incoming messages, we'd probably need a way to access TP's threadpools, and to find out where the currently executing thread belongs. Then, the message/event would also use priority queue and take a thread from the same threadpool in order to deliver it to upper layers.
> Another feature of this new implementation of delay protocol would be to allow constant latency, or rather specify the latency interval (from - to: currently from is always 0).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (JGRP-1711) DELAY2: Do not keep the thread waiting
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1711?page=com.atlassian.jira.plugin.... ]
Bela Ban commented on JGRP-1711:
--------------------------------
I think the reason was that with loopback, messages are copied and sent back up. But you're right: this is done above the transport so the above is moot.
> DELAY2: Do not keep the thread waiting
> --------------------------------------
>
> Key: JGRP-1711
> URL: https://issues.jboss.org/browse/JGRP-1711
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 3.4
> Reporter: Radim Vansa
> Assignee: Bela Ban
> Priority: Minor
>
> Current version of the DELAY protocol is rather simplistic - the thread is just put to sleep for some period of time. However, this does not reflect the network delay very well as it consumes the thread during the latency period.
> As the protocol should be usually placed just above TP, I'd suggest that for outcoming delay, the message/event should be placed into priority queue and another dedicated thread should pass it down after the latency period.
> For the incoming messages, we'd probably need a way to access TP's threadpools, and to find out where the currently executing thread belongs. Then, the message/event would also use priority queue and take a thread from the same threadpool in order to deliver it to upper layers.
> Another feature of this new implementation of delay protocol would be to allow constant latency, or rather specify the latency interval (from - to: currently from is always 0).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (JGRP-1711) DELAY2: Do not keep the thread waiting
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/JGRP-1711?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on JGRP-1711:
-----------------------------------
As the implementation of incoming messages delay would be more complicated, I think that implementing outcoming delay could be sufficient. Anyway, I can't distinguish where the message got delayed on network. What was the reason to provide both delays in DELAY?
> DELAY2: Do not keep the thread waiting
> --------------------------------------
>
> Key: JGRP-1711
> URL: https://issues.jboss.org/browse/JGRP-1711
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 3.4
> Reporter: Radim Vansa
> Assignee: Bela Ban
> Priority: Minor
>
> Current version of the DELAY protocol is rather simplistic - the thread is just put to sleep for some period of time. However, this does not reflect the network delay very well as it consumes the thread during the latency period.
> As the protocol should be usually placed just above TP, I'd suggest that for outcoming delay, the message/event should be placed into priority queue and another dedicated thread should pass it down after the latency period.
> For the incoming messages, we'd probably need a way to access TP's threadpools, and to find out where the currently executing thread belongs. Then, the message/event would also use priority queue and take a thread from the same threadpool in order to deliver it to upper layers.
> Another feature of this new implementation of delay protocol would be to allow constant latency, or rather specify the latency interval (from - to: currently from is always 0).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (JGRP-1711) DELAY2: Do not keep the thread waiting
by Radim Vansa (JIRA)
Radim Vansa created JGRP-1711:
---------------------------------
Summary: DELAY2: Do not keep the thread waiting
Key: JGRP-1711
URL: https://issues.jboss.org/browse/JGRP-1711
Project: JGroups
Issue Type: Feature Request
Affects Versions: 3.4
Reporter: Radim Vansa
Assignee: Bela Ban
Priority: Minor
Current version of the DELAY protocol is rather simplistic - the thread is just put to sleep for some period of time. However, this does not reflect the network delay very well as it consumes the thread during the latency period.
As the protocol should be usually placed just above TP, I'd suggest that for outcoming delay, the message/event should be placed into priority queue and another dedicated thread should pass it down after the latency period.
For the incoming messages, we'd probably need a way to access TP's threadpools, and to find out where the currently executing thread belongs. Then, the message/event would also use priority queue and take a thread from the same threadpool in order to deliver it to upper layers.
Another feature of this new implementation of delay protocol would be to allow constant latency, or rather specify the latency interval (from - to: currently from is always 0).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (WFLY-1913) CLI 'module add' command fail if a drive letter is specified in its resource path
by Ivo Studensky (JIRA)
[ https://issues.jboss.org/browse/WFLY-1913?page=com.atlassian.jira.plugin.... ]
Ivo Studensky edited comment on WFLY-1913 at 10/1/13 10:02 AM:
---------------------------------------------------------------
Ah, nevermind, too many context switches on my side. It needs a module add command included in the deploy.scr script. I will enhance the test case accordingly and fix the issue.
was (Author: istudens):
Ah, nevermind. It needs a module add command included in the deploy.scr script. I will enhance the test case accordingly and fix the issue.
> CLI 'module add' command fail if a drive letter is specified in its resource path
> ---------------------------------------------------------------------------------
>
> Key: WFLY-1913
> URL: https://issues.jboss.org/browse/WFLY-1913
> Project: WildFly
> Issue Type: Bug
> Components: CLI
> Affects Versions: 8.0.0.Alpha4
> Reporter: Ivo Studensky
> Assignee: Ivo Studensky
> Fix For: 8.0.0.Beta1
>
> Attachments: install-mojarra-2.0.0.cli
>
>
> If a drive letter is specified in the resource path the module add command fails on MS Windows. It cannot locate such a resource because of doubled drive letter in the translated path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months