The serialization for user message payload is configurable, so if
cross-platform interaction is needed, the user has to set a serializer that
works between platforms (protobuf, or whatever).

-Endre


On Mon, Jan 20, 2014 at 2:09 PM, Roger Alsing <[email protected]> wrote:

> Thanks,
> I've got the protos working in .NET, too bad the binary java serializer is
> used for user message payload, that makes cross platform interaction harder.
> I'll play around with this, mayne I manage to connect my stuff to real
> Akka some day :)
>
> Den måndagen den 20:e januari 2014 kl. 13:57:18 UTC+1 skrev Akka Team:
>>
>> Hi Roger,
>>
>>
>>
>> On Mon, Jan 20, 2014 at 1:36 PM, Roger Alsing <[email protected]> wrote:
>>
>>> Thanks :)
>>> So it's just a 4 bytes prefix for each message? or could one frame
>>> contain multiple protos?
>>>
>>
>> Yes, it is just a 4 bytes prefix, and one frame contains one protobuf
>> message (an Akka protocol message). User level messages (using user
>> configurable serializers) are wrapped in that protobuf message.
>>
>>
>>>
>>> Den måndagen den 20:e januari 2014 kl. 13:24:55 UTC+1 skrev Akka Team:
>>>>
>>>> Hi Roger,
>>>>
>>>> No, it does not rely on that protobuf feature. It simply uses Netty's
>>>> LengthFieldFrame encoder to add length information for decoding message
>>>> boundaries.
>>>>
>>>> -Endre
>>>>
>>>>
>>>> On Mon, Jan 20, 2014 at 1:10 PM, Roger Alsing <[email protected]>wrote:
>>>>
>>>>> This might be too offtopic for the intention of this forum, but I'll
>>>>> shoot anyway.
>>>>>
>>>>> I've read that the new network implementation is completely non
>>>>> blocking using actors and sockets (if I didn't misunderstand that is..)
>>>>> So how do you deal with deserialization of the protobuf messages?
>>>>>
>>>>> Are they lengthprefixed ? (didn't see anything in the code that hints
>>>>> this is the case).
>>>>> do you async read blocks from the network and once you have more data
>>>>> than the next message lengt prefix dictates, you deserialize the message?
>>>>>
>>>>> Any pointers where to look?
>>>>>
>>>>> //Roger
>>>>>
>>>>> --
>>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>> >>>>>>>>>> Search the archives: https://groups.google.com/grou
>>>>> p/akka-user
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Akka User List" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>>
>>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Akka Team
>>>> Typesafe - The software stack for applications that scale
>>>> Blog: letitcrash.com
>>>> Twitter: @akkateam
>>>>
>>>  --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>> group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Akka Team
>> Typesafe - The software stack for applications that scale
>> Blog: letitcrash.com
>> Twitter: @akkateam
>>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to