I think we are talking about the differences between external config(like 
proto file) described schema vs self-described(class itself) schema.

On Saturday, 18 March 2017 22:23:14 UTC+8, Patrik Nordwall wrote:
>
> Isn't the difference that with Kryo you don't have to write the tedious 
> mapping code between the domain classes and the protobuf classes?
>
> For the Akka internal classes we see that mapping as an advantage because 
> it gives us full control but I can understand that in a large system that 
> code can be seen as a waste.
>
> /Patrik
> lör 18 mars 2017 kl. 14:12 skrev Justin du coeur <jduc...@gmail.com 
> <javascript:>>:
>
>> Honestly, it's pretty subjective -- if I had known then what I know now, 
>> I'm not sure I would have bothered.  I like having my classes be relatively 
>> self-describing, not so dependent on external config in order to function, 
>> so I like this approach, but I could easily argue the other side.  I was 
>> mostly just making the point that Kryo is a valid option, not that it's 
>> necessarily a better one...
>>
>> On Sat, Mar 18, 2017 at 2:02 AM, Dai Yinhua <yhdai...@gmail.com 
>> <javascript:>> wrote:
>>
>>> Hi Justin,
>>>>
>>>
>>>  Thank you for your information and suggestion.
>>> I have read your blog but I can't see the benefit of using scala to 
>>> describe the schema over using an external description file(like .proto).
>>> But I look forward your unfinished part.
>>>
>>> -- 
>>> >>>>>>>>>> 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+...@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