Documentation related to persistence and serialization:
http://doc.akka.io/docs/akka/2.4.1/scala/persistence.html#Custom_serialization
http://doc.akka.io/docs/akka/2.4.1/scala/persistence-schema-evolution.html

For remote messages I would use something more automatic, such as Kryo.

Regards,
Patrik

On Fri, Feb 5, 2016 at 12:57 AM, Eric Swenson <[email protected]> wrote:

> Since upgrading to akka 2.4.2-RC2, I’m seeing the following warning on
> startup:
>
> background log: info: [WARN] [02/04/2016 15:21:46.414]
> [ClusterSystem-akka.actor.default-dispatcher-25]
> [akka.serialization.Serialization(akka://ClusterSystem)] Using the
> default Java serializer for class
> [org.xxx.eim.ExperimentInstance$RegisterProxySucceededEvent] which is not
> recommended because of performance implications. Use another serializer or
> disable this warning using the setting
> 'akka.actor.warn-about-java-serializer-usage'
>
> I’ve looked at the documentation here:
> http://doc.akka.io/docs/akka/snapshot/java/serialization.html but can
> find no documentation on what serialization implementations are recommended
> or what factors to consider when choosing a serialization implementation.
> I’m not really keen on having to write my own serializer, nor in adding
> serialization methods to each of the objects used in akka-persistence. What
> are the recommendations here?
>
> — Eric
>
> --
> >>>>>>>>>> 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.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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