Akka Stream connector

2017-07-04 Thread Olivier NOUGUIER
Hi,
  I'm (a little) proud to point you the connector [0] from/to apache geode
for Akka Stream.
  It is a first version, only supporting PDX serialization.

Hope you'll appreciate && criticize

[0] http://developer.lightbend.com/docs/alpakka/current/geode.html


ClientCache / PDX best practice

2017-03-28 Thread Olivier NOUGUIER
Hi,
 In a reactive extension to connect Apache Geode with akka-stream in
alpakka community project [0], I don't know how to use ClientCache in an
efficient  way.

Given:

   - 2 Pojos: Animal and Person
   - 2 Regions for each

Should I use 2 ClientCaches with 2 custom PDXSerializer or only one
ClientCache with a more generic PDXSerializer ?

Another way to ask, if ClientCache is expensive to instanciate.

Thanks in advance.

PS: I've hesitate to post this on the user list...


[0]: https://github.com/cheleb/alpakka/tree/geode/geode


Re: ClientCache / PDX best practice

2017-03-28 Thread Olivier NOUGUIER
error
> >> on the side of Pojo specific serializer, as the serialization logic is
> >> defined on the pojo. BUT if you don't want to "taint" your pojo with
> >> serialization code, you could use a generic PDXSerializer. In this case
> you
> >> can write your own or use the provided ReflectionBasedAutoSerializer.
> [0]
> >>
> >> So to *hopefully* answer your question. 1 clientcache, with either 1
> >> generic PdxSerializer (custom or ReflectionAutoSerializer) or 2 pojo
> >> specific PdxSerializable implementations.
> >>
> >> --Udo
> >>
> >> [0] - https://geode.apache.org/docs/guide/developing/data_serializ
> >> ation/gemfire_pdx_serialization.html
> >>
> >>
> >>
> >>
> >> On 3/28/17 10:47, Olivier NOUGUIER wrote:
> >>
> >>> Hi,
> >>>   In a reactive extension to connect Apache Geode with akka-stream in
> >>> alpakka community project [0], I don't know how to use ClientCache in
> an
> >>> efficient  way.
> >>>
> >>> Given:
> >>>
> >>> - 2 Pojos: Animal and Person
> >>> - 2 Regions for each
> >>>
> >>> Should I use 2 ClientCaches with 2 custom PDXSerializer or only one
> >>> ClientCache with a more generic PDXSerializer ?
> >>>
> >>> Another way to ask, if ClientCache is expensive to instanciate.
> >>>
> >>> Thanks in advance.
> >>>
> >>> PS: I've hesitate to post this on the user list...
> >>>
> >>>
> >>> [0]: https://github.com/cheleb/alpakka/tree/geode/geode
> >>>
> >>>
> >>
> >
> >
> > --
> > -John
> > john.blum10101 (skype)
> >
>
>
>
> --
> -John
> john.blum10101 (skype)
>