You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Hamster <ha...@gmail.com> on 2013/06/27 17:31:35 UTC

IMAP4 Clustering

Hi lads,

I am considering following architecture/problem:

http://i.imgur.com/ndUBFL4.png

On diagram you can see that Alice and Bob are "sharing" same inbox (it
might not make sense in case of email but I am considering this
problem for different use case where there is no SMTP so please do not
ask why :-)).

1. Bob is connected to his IMAP mailbox and issues IDLE command.

2. Alice is calling APPEND on inbox via IMAP4 protocol via Instance A.

Question:
 Is Bob going to receive notification back form Instance B that there
is new message in his inbox?

More general question:
 Is IMAP4 fully clusterable in Apache James3?

Will be thankful for comments.

Cheers,
Maciej

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: IMAP4 Clustering

Posted by Hamster <ha...@gmail.com>.
Thanks for this.

We did some source code review today and since we focus on imap only it
should be fairly simple to dispatch event through topic (we want to use
rabbitmq) to all other nodes and then use what is already in place to
handle event and then push back notification via idlelistener. I should
have another diagram soon for you ;)

Thanks for this.

Btw: we used james2 in the past... now looking at james3 source code and
spring make us all so much happier ;)
On Jun 28, 2013 12:25 PM, "Eric Charles" <er...@apache.org> wrote:

> Hi,
>
> Thx for the new diagram.
> No, B will not receive notifications. The event implementation is purely a
> local JVM one.
>
> We've got a few JIRA open for this, and the API is ready for a distributed
> implementation. It is just a matter of having that implementation...
>
> Feel free to come back here if you want more pointers to contribute.
>
> Thx, Eric
>
>
>
> On 27/06/2013 16:31, Hamster wrote:
>
>> Hi lads,
>>
>> I am considering following architecture/problem:
>>
>> http://i.imgur.com/ndUBFL4.png
>>
>> On diagram you can see that Alice and Bob are "sharing" same inbox (it
>> might not make sense in case of email but I am considering this
>> problem for different use case where there is no SMTP so please do not
>> ask why :-)).
>>
>> 1. Bob is connected to his IMAP mailbox and issues IDLE command.
>>
>> 2. Alice is calling APPEND on inbox via IMAP4 protocol via Instance A.
>>
>> Question:
>>   Is Bob going to receive notification back form Instance B that there
>> is new message in his inbox?
>>
>> More general question:
>>   Is IMAP4 fully clusterable in Apache James3?
>>
>> Will be thankful for comments.
>>
>> Cheers,
>> Maciej
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.**apache.org<se...@james.apache.org>
>> For additional commands, e-mail: server-user-help@james.apache.**org<se...@james.apache.org>
>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-user-unsubscribe@james.**apache.org<se...@james.apache.org>
> For additional commands, e-mail: server-user-help@james.apache.**org<se...@james.apache.org>
>
>

Re: IMAP4 Clustering

Posted by Eric Charles <er...@apache.org>.
Hi,

Thx for the new diagram.
No, B will not receive notifications. The event implementation is purely 
a local JVM one.

We've got a few JIRA open for this, and the API is ready for a 
distributed implementation. It is just a matter of having that 
implementation...

Feel free to come back here if you want more pointers to contribute.

Thx, Eric



On 27/06/2013 16:31, Hamster wrote:
> Hi lads,
>
> I am considering following architecture/problem:
>
> http://i.imgur.com/ndUBFL4.png
>
> On diagram you can see that Alice and Bob are "sharing" same inbox (it
> might not make sense in case of email but I am considering this
> problem for different use case where there is no SMTP so please do not
> ask why :-)).
>
> 1. Bob is connected to his IMAP mailbox and issues IDLE command.
>
> 2. Alice is calling APPEND on inbox via IMAP4 protocol via Instance A.
>
> Question:
>   Is Bob going to receive notification back form Instance B that there
> is new message in his inbox?
>
> More general question:
>   Is IMAP4 fully clusterable in Apache James3?
>
> Will be thankful for comments.
>
> Cheers,
> Maciej
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org