Hi Alessandro,

Okay, I see.

AFAIK, implementing REST APIs or using Message Queue (ZeroMQ of eventlet) is
relatively easier way than the other example on the previous mail.

The Ryu-Book describes how to implement REST APIs on Ryu applications;
http://osrg.github.io/ryu-book/en/html/rest_api.html

For using ZeroMQ way, this is outside of Ryu, please refer to the following;
http://zeromq.org/intro:read-the-manual
Please note that the usage is almost the same, but you need to use "eventlet
version" of ZeroMQ on your Ryu applications.
http://eventlet.net/doc/modules/zmq.html
This is the eventlet's constraint, which used on Ryu as the networking
utilities.

Thanks,
Iwase


On 2018年01月24日 22:31, Alessandro Gaballo wrote:
Hi, I'm sorry, I wasn't precise in my question. By fastest I mean easy to implement, I also tried to use custom events but I can't make the applications communicate



Sent from my MI 5
On Iwase Yusuke <iwase.yusu...@gmail.com>, Jan 23, 2018 17:43 wrote:

    Hi Alessandro,

    What does "fastest" exactly mean? Easy to implement? Good performance?

    It might be depending on your answer, you have some options to archive this.
    For example, implementing HTTP REST or RPC API, (more lower layer) using TCP
    or Unix socket communication, Message Queue (ZeroMQ of eventlet) and so on.

    Thanks,
    Iwase

    On 2018年01月24日 00:46, Alessandro Gaballo wrote:
    > Hi, what's the fastest way to make 2 ryu apps communicate? I have an app
    > that does some computations and the other that install the flows and I
    > want them to exchange custom messages, I actually only need to share an
    > array. How can I do it?
> > ------------------------------------------------------------------------------
    > Check out the vibrant tech community on one of the world's most
    > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    > _______________________________________________
    > Ryu-devel mailing list
    > Ryu-devel@lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/ryu-devel
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to