Thanks for the references, Patrik. I hope others will share their
experiences.

On Tue, Oct 21, 2014 at 4:57 AM, Patrik Nordwall <[email protected]>
wrote:

> Hi Richard,
>
> I'm also interested in what others are currently using.
>
> On Sun, Oct 19, 2014 at 3:35 AM, Richard Rodseth <[email protected]>
> wrote:
>
>> I'm hoping to build a case for using Akka Persistence, and expect the
>> event schema evolution to be a sticking point. People are quite used to
>> their database migration scripts.
>>
>> I've seen the threads on this list, but I'm wondering what the current
>> thinking is on the least painful option, and would also like pointers to
>> sample code.
>>
>
> I have not heard of any new ideas. Migration and data evolution can be
> implemented in a custom serializer.
>
>
>> Do Protobuf, Avro and Thrift all require an IDL compiler?
>>
>
> Protobuf and Thrift, yes. I'm not sure about Avro. I think it can be used
> without generated code.
>
>
>> Is Cap'n Proto a viable option?
>>
>
> Yes, it looks interesting, especially for high performance, but I have no
> experience of it.
> In same category you also have SBE and FlatBuffers. Here is a nice
> comparison
> <https://kentonv.github.io/capnproto/news/2014-06-17-capnproto-flatbuffers-sbe.html>
> .
>
>
>> Would something based on Scala macros provide a way to avoid an extra
>> compilation?
>>
>
> Scala Pickling <https://github.com/scala/pickling>. I don't have much
> experience of it, and I'm uncertain of how mature it is.
>
>
>>
>> Anything on the horizon I should know about?
>>
>
> JSON is well known and has the nice property of being schema-less. CBOR
> <https://www.rfc-editor.org/info/rfc7049> has similar characteristics but
> has the advantages of a binary format. I have played with the
> jackson-dataformat-cbor
> <https://github.com/FasterXML/jackson-dataformat-cbor> tool and here is an
> example of an Akka serializer
> <https://github.com/typesafehub/activator-akka-cluster-sharding-scala/pull/8/files>.
> That sample is using a low level API, with all the advantages of full
> control and possibilities of data migration. The drawback is of course the
> amount of hand written mapping code. I expect that it will be possible to
> also use other high level tools with CBOR, such as Jackson Databinding and
> Play-json <https://www.playframework.com/documentation/2.3.x/ScalaJson>.
>
> Cheers,
> Patrik
>
>
>>
>> Thanks.
>>
>> --
>> >>>>>>>>>> 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 http://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 http://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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to