incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Morel <mmo...@apache.org>
Subject Re: Message too long exception in S4 v0.3.0
Date Wed, 26 Sep 2012 09:18:54 GMT
UDP datagram payload size is unrelated with the version of S4 (or with 
Java) and it is limited to ~65KB.

If you really need to send large messages, you probably want to use TCP.

Regards,

Matthieu

On 9/26/12 10:54 AM, Raghavendar TS wrote:
> Hi
> What is the datagrams payload size if we use S4 0.5?
>
> On Wed, Sep 26, 2012 at 1:29 PM, Matthieu Morel <mmorel@apache.org
> <mailto:mmorel@apache.org>> wrote:
>
>     Without more details, it's hard to tell.
>
>     Note that if you use S4 0.3 the comm layer uses UDP, and UDP
>     datagrams payload size is limited to ~65K. So you'd probably have to
>     split the messages into multiple chunks, and reconstruct on the
>     receiver side. Which is hard with UDP...
>
>     But really, the best option is to use S4 0.5, which provides a much
>     better communication layer implemented with Netty and TCP (UDP still
>     available).
>
>     Matthieu
>
>
>     On 9/26/12 9:07 AM, Raghavendar TS wrote:
>
>         Hi
>         I am trying to send object of large size(say 4 or 5 mb) from one
>         PE to
>         another.But I am getting "Message too long" exception. Is there any
>         solution to solve this?
>
>         Thank you
>
>
>


Mime
View raw message