In the example above by Guido Medina, he has, for instance

akka-cluster = "com.romix.akka.serialization.kryo.KryoSerializer"

Without this line, what akka-cluster would be and what are bound to it? 
 Also, by default, for example, ActorRefs are handled by protobuf or java?

On Friday, December 25, 2015 at 2:18:41 AM UTC-6, Patrik Nordwall wrote:
>
> That should be the same thing, if there is only one binding to "java".
> tors 24 dec. 2015 kl. 17:19 skrev <alex.f....@gmail.com <javascript:>>:
>
>> Is there a difference between doing 
>>
>> serializers {
>>    java = "com.romix.akka.serialization.kryo.KryoSerializer"
>> }
>>
>> and
>>
>> serializers {
>>    myown = "com.romix.akka.serialization.kryo.KryoSerializer"
>> }
>>
>> serialization-bindings {
>>    "java.io.Serializable" = myown
>> }
>>
>> On Saturday, December 19, 2015 at 11:12:57 AM UTC-6, Patrik Nordwall 
>> wrote:
>>
>>> Yeah, that is what I mean :-)
>>>
>> lör 19 dec. 2015 kl. 18:09 skrev Guido Medina <oxy...@gmail.com>:
>>>
>>>> Hey Patrik, to confirm; out of the 6 I listed only leave "java" as I 
>>>> had it initially?
>>>>
>>>>
>>>> On Saturday, December 19, 2015 at 4:24:15 PM UTC, Patrik Nordwall wrote:
>>>>
>>>>> Don't change the ones that are using protobuf, eg akka-cluster. They 
>>>>> are optimized, and proven to work well. Replacing anything that is using 
>>>>> java serialization is good.
>>>>>
>>>> lör 19 dec. 2015 kl. 17:12 skrev Guido Medina <oxy...@gmail.com>:
>>>>>
>>>> Hi, not with the intention of hijacking this thread but here is a 
>>>>>> question related question:
>>>>>>
>>>>>> If I decide to use only Kryo for all sort of serializations, has 
>>>>>> anyone done this? I mean to also serialize Akka inter-node messages with 
>>>>>> Kryo?
>>>>>>
>>>>>> *This is what I had before:*
>>>>>> serializers {
>>>>>>    java = "com.romix.akka.serialization.kryo.KryoSerializer"
>>>>>> }
>>>>>>
>>>>>>
>>>>>> *And this is what I'm testing at the moment by changing every 
>>>>>> serializer declared at Akka actor, remote and cluster:*
>>>>>> serializers {
>>>>>>   java = "com.romix.akka.serialization.kryo.KryoSerializer"
>>>>>>   bytes = "com.romix.akka.serialization.kryo.KryoSerializer"
>>>>>>   akka-cluster = "com.romix.akka.serialization.kryo.KryoSerializer"
>>>>>>   akka-containers = 
>>>>>> "com.romix.akka.serialization.kryo.KryoSerializer"
>>>>>>   proto = "com.romix.akka.serialization.kryo.KryoSerializer"
>>>>>>   daemon-create = "com.romix.akka.serialization.kryo.KryoSerializer"
>>>>>> }
>>>>>>
>>>>>> *Any thoughts? Is there any of these types that Kryo serializer would 
>>>>>> do more harm than good?*
>>>>>>
>>>>>> Thanks a lot,
>>>>>>
>>>>>> Guido.
>>>>>>
>>>>>> -- 
>>>>>> >>>>>>>>>> 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 akka-user+...@googlegroups.com.
>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>
>>>>>
>>>>>> 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 akka-user+...@googlegroups.com.
>>>> To post to this group, send email to akka...@googlegroups.com.
>>>> 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 akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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