Both, actually...

I suppose clusterization for fault tolerance is actually a more immediate
concern, but the ability to run performers remotely is very interesting as
well :)

On May 24, 2017 4:47 PM, "Rafael Weingärtner" <[email protected]>
wrote:

> Do you want only peer-peer communication? Or do you want clustering of
> agents for fault-tolerant systems?
> http://doc.akka.io/docs/akka/snapshot/java/common/cluster.html
>
> On Wed, May 24, 2017 at 3:27 PM, Lucas Berri Cristofolini <
> [email protected]> wrote:
>
>> Yup, that worked just fine!
>>
>> I wrote the example you showed at ApcheCon in Java to test it out, and I
>> was now wondering if it is possible to run the two performers in that
>> ensemble in separate hosts. I suppose this would be akin to Akka's
>> 'remoting' (http://doc.akka.io/docs/akka/snapshot/java/remoting.html).
>>
>> I saw some of the examples in GitHub but it isn't quite clear to me what
>> I need to set in order for the performers to be able to communicate in that
>> scenario. Are there any settings I can specify in the orchestration json to
>> point to the remote host that would be running the other performer?
>>
>>
>> PS: Thanks for the quick reply yesterday!
>>
>> On Tue, May 23, 2017 at 3:35 PM, Barbara Malta Gomes <
>> [email protected]> wrote:
>>
>>> Hi Lucas,
>>>
>>> Good to hear that you are trying out iota.
>>>
>>> Sure, you can definitely write the performers in java.
>>> You just have to do like you said, add the Fey .jar as a dependency,
>>> implement a Performer that inherits from the FeyGenericActor and override
>>> the functions.
>>>
>>> Once you have done that, generate the .jar for the performer and use it
>>> on Fey.
>>>
>>> Let us know if you have any problems.
>>>
>>> Regards,
>>>
>>> On Tue, May 23, 2017 at 11:27 AM, Lucas Berri Cristofolini <
>>> [email protected]> wrote:
>>>
>>>> Hello, Iota community! :)
>>>>
>>>> One of my colleagues watched Barbara's talk at ApacheCon 2017 in Miami,
>>>> and we were really interested in the way the Fey Engine works.
>>>>
>>>> I've been wanting to try it out since then but only got around to it
>>>> today, and after going through the GitHub page for the project and
>>>> Barbara's slides, I'm wondering if it is possible to write the performers
>>>> in Java, since the Engine seems to take compiled .jars.
>>>>
>>>> If that's possible, how would one go about doing it? Is it just a
>>>> matter of adding the fey engine as a dependency and overriding the right
>>>> functions?
>>>>
>>>> Cheers!
>>>> Lucas
>>>>
>>>
>>>
>>>
>>> --
>>> Barbara Gomes
>>> Computer Engineer
>>> San Jose, CA
>>>
>>
>>
>
>
> --
> Rafael Weingärtner
>

Reply via email to