[jira] Created: (LABS-124) Improve stanza relaying

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (LABS-124) Improve stanza relaying

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Improve stanza relaying
-----------------------

                 Key: LABS-124
                 URL: https://issues.apache.org/jira/browse/LABS-124
             Project: Labs
          Issue Type: Improvement
          Components: Vysper
            Reporter: Bernd Fondermann


Stanza relaying adequately delivers a stanza from the source session to the target session.
This is currently done in MasterStanzaRelay.
We need to implement the follow improvements:
+ change from SingleThreadExecutor to ThreadPoolExecutor
+ make the executor configurable
+ make the executor monitorable and administerable
+ use distinct executors for internal and external delivery
+ introduce and use on submit() a proper Future to react with when delivery fails
+ handle exceptions

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@...
For additional commands, e-mail: labs-help@...


[jira] Assigned: (LABS-124) Improve stanza relaying

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/LABS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Fondermann reassigned LABS-124:
-------------------------------------

    Assignee: Bernd Fondermann

> Improve stanza relaying
> -----------------------
>
>                 Key: LABS-124
>                 URL: https://issues.apache.org/jira/browse/LABS-124
>             Project: Labs
>          Issue Type: Improvement
>          Components: Vysper
>            Reporter: Bernd Fondermann
>            Assignee: Bernd Fondermann
>
> Stanza relaying adequately delivers a stanza from the source session to the target session.
> This is currently done in MasterStanzaRelay.
> We need to implement the follow improvements:
> + change from SingleThreadExecutor to ThreadPoolExecutor
> + make the executor configurable
> + make the executor monitorable and administerable
> + use distinct executors for internal and external delivery
> + introduce and use on submit() a proper Future to react with when delivery fails
> + handle exceptions

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@...
For additional commands, e-mail: labs-help@...


[jira] Commented: (LABS-124) Improve stanza relaying

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/LABS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598283#action_12598283 ]

Bernd Fondermann commented on LABS-124:
---------------------------------------

Update:

done:
+ change from SingleThreadExecutor to ThreadPoolExecutor => done.
+ use distinct executors for internal and external delivery => done.
+ introduce and use on submit() a proper Future to react with when delivery fails => done, but see new item below

ongoing:
+ handle exceptions => code is robust, Throwable are catched, but not evaluated
+ make the executor configurable => prepared to be implemented
+ make the executor monitorable and administerable => pending

new:
+ provide strategy interface to implement different reaction scenarios depending on actual failure and/or the context


> Improve stanza relaying
> -----------------------
>
>                 Key: LABS-124
>                 URL: https://issues.apache.org/jira/browse/LABS-124
>             Project: Labs
>          Issue Type: Improvement
>          Components: Vysper
>            Reporter: Bernd Fondermann
>            Assignee: Bernd Fondermann
>
> Stanza relaying adequately delivers a stanza from the source session to the target session.
> This is currently done in MasterStanzaRelay.
> We need to implement the follow improvements:
> + change from SingleThreadExecutor to ThreadPoolExecutor
> + make the executor configurable
> + make the executor monitorable and administerable
> + use distinct executors for internal and external delivery
> + introduce and use on submit() a proper Future to react with when delivery fails
> + handle exceptions

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@...
For additional commands, e-mail: labs-help@...


[jira] Resolved: (LABS-124) Improve stanza relaying

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/LABS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Fondermann resolved LABS-124.
-----------------------------------

    Resolution: Fixed

> Improve stanza relaying
> -----------------------
>
>                 Key: LABS-124
>                 URL: https://issues.apache.org/jira/browse/LABS-124
>             Project: Labs
>          Issue Type: Improvement
>          Components: Vysper
>            Reporter: Bernd Fondermann
>            Assignee: Bernd Fondermann
>
> Stanza relaying adequately delivers a stanza from the source session to the target session.
> This is currently done in MasterStanzaRelay.
> We need to implement the follow improvements:
> + change from SingleThreadExecutor to ThreadPoolExecutor
> + make the executor configurable
> + make the executor monitorable and administerable
> + use distinct executors for internal and external delivery
> + introduce and use on submit() a proper Future to react with when delivery fails
> + handle exceptions

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@...
For additional commands, e-mail: labs-help@...

LightInTheBox - Buy quality products at wholesale price