[ 
https://issues.apache.org/jira/browse/MAILBOX-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985252#comment-14985252
 ] 

Tellier Benoit commented on MAILBOX-259:
----------------------------------------

My intent in general in my PRs are to propose alternatives (at an architecture 
level)...

Mixed approch seems very nice, I'll have a look to implement it !

> Mailbox Listeners should be asynchronously called.
> --------------------------------------------------
>
>                 Key: MAILBOX-259
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-259
>             Project: James Mailbox
>          Issue Type: Improvement
>            Reporter: Tellier Benoit
>
> Event handling by Mailbox Listeners might take time.
> For instance indexation, etc...
> This time impact latencies.
> What I propose is to have a ThreadPool executor dedicated to event handling, 
> and schedule tasks on it, then return before task completion.
> I gonna implement it on top of MAILBOX-211 :-)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to