No, it's all done in the akka serializer thread. I am sure also for LZ4Java
that it does not use any parallelism itself.

On Tue, Mar 7, 2017 at 5:48 AM, Patrik Nordwall <[email protected]>
wrote:

> Is Kryo (or the library) delegating to a different thread somehow?
>
> mån 6 mars 2017 kl. 22:13 skrev Любен <[email protected]>:
>
>> Hi,
>>
>> It's strange, I have put the LZ4 compression in the kryo serialization
>> extension. Actually I am relying on it in production (compiled from the
>> same source). The only difference I see is that it's using the artery
>> transport. Could it be that the source byte buffer is released earlier by
>> artery, when it is still in the serializer and the byte array get
>> corrupted? I think it may show only when using more time-consuming
>> serialization.
>>
>> Regards,
>> luben
>>
>> On Mon, Mar 6, 2017 at 8:21 AM, Konrad Malawski <
>> [email protected]> wrote:
>>
>>
>> Really? I was thing serialization would be needed for inter process
>> communication.
>>
>> If you're in the same JVM then it's only inter-thread communication, so
>> we don't serialize (unless you force that via config setting)
>>
>>
>> Thanks, looking forward to a reproducer - most likely best to ping the
>> kryo plugin people, thanks!
>>
>>
>> -- Konrad
>>
>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>> current/additional/faq.html
>> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>> current/additional/faq.html
>> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to