But it is still solved with your fix (wait a bit) right? Yes binary relay is
designed to not store anything :).

Sanjiva.

On Mon, Jun 27, 2011 at 11:30 AM, Afkham Azeez <az...@wso2.com> wrote:

> As per Supun, this is because BinaryRelay consumes the message stream, so
> there is no way to automatically failover when binary relay is used.
>
>
> On Sun, Jun 26, 2011 at 2:06 AM, Afkham Azeez <az...@wso2.com> wrote:
>
>> The root cause of this issue is as follows.
>>
>> As soon as a new worker node joins, and its HTTP/S ports become available,
>> the LB tries to send messages to that node. However, that node need a few
>> more seconds to "warm up", hence a few initial requests fail. The failover
>> mechanism kicks in and tries to resends the message to another instance.
>> However, an error occurs when it tries to retrieve the original request
>> envelope, and ends up sending an empty message to the worker node, which
>> shows up as a malformed XML error when the StAX parser tries to parse the
>> message.
>>
>> One measure I have implemented is allowing some warm up time for newly
>> added worker nodes which solved this problem for the moment. However, the
>> failover logic is still broken and needs to be fixed.
>>
>>
>> On Sun, Jun 12, 2011 at 9:21 PM, Sanjiva Weerawarana <sanj...@wso2.com>wrote:
>>
>>> Not very likely dude :) .. its been in HEAVY use in eBay for a long time
>>> now. There has to be some other combination of events that triggers this.
>>>
>>> Sanjiva.
>>>
>>> On Sun, Jun 12, 2011 at 4:25 PM, Sameera Jayasoma <same...@wso2.com>wrote:
>>>
>>>> Binary relay impl might be failing to handle messages in high
>>>> concurrency.
>>>>
>>>> Thanks,
>>>> Sameera
>>>>
>>>>
>>>> On Fri, Jun 10, 2011 at 3:34 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>
>>>>> Folks,
>>>>> Please note $subject. This happens rarely. We are using binary relay in
>>>>> the LB.
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> * <http://www.apache.org/>**
>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>> twitter: 
>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>> *
>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>> *
>>>>> *
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sameera Jayasoma
>>>> Technical Lead and Product Manager, WSO2 Carbon
>>>>
>>>> WSO2, Inc. (http://wso2.com)
>>>> email: same...@wso2.com
>>>> blog: http://tech.jayasoma.org
>>>>
>>>> Lean . Enterprise . Middleware
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Sanjiva Weerawarana, Ph.D.
>>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>>> email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 |
>>> +1 650 265 8311
>>> blog: http://sanjiva.weerawarana.org/
>>>
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to