On Thu, 13 Feb 2014 11:54:07 +0900
Satoshi Kobayashi <[email protected]> wrote:

> 2014-02-13 8:23 GMT+09:00 FUJITA Tomonori <[email protected]>:
> 
>> Hi,
>>
>> On Wed, 12 Feb 2014 12:52:36 +0900
>> Satoshi Kobayashi <[email protected]> wrote:
>>
>> > If Raw TCP is changed to WebSocket only, It do not have many merits. But
>> > when messaging is also changed to non-binary (JSON?), it seems to be easy
>> > to use. Many development tools exist.
>>
>> As I wrote in another mail, I talked about extending our REST API so
>> JSON RPC or something that more developers are familir with. What RPC
>> protocol is mostly used with WebSocket?
>>
> 
> Umm...I do not know about it. WAMP (The WebSocket Application Messaging
> Protocol) also seems to be famous.

Thanks for the pointer.

Looks like either is fine to me. Googling with 'json rpc websocket' vs
'wamp websocket' tells that the former is more popular a bit. So if
nobody has strong opinions, then I like to go with the former.

>> I used Messagepack RPC for our VRRP API but I guess that people prefer
>> the REST-alike API. As long as bi-directional, such API works for
>> VRRP, I guess (as you know, events like master-slave transition needs
>> to be notified to other components).
> 
> 
>>
>> > BTW, I researched whether Ryu can support WebSocket. It seemed that
>> > Eventlet (0.14.0) WebSocket support did not correspond to RFC6455, FYI.
>>
>> That's mean it's not that simple to add WebSocket support to Ryu?
>>
> 
> It may not be easy to provide by the same endpoint as REST API. The
> prototype using another port was made by ws4py.

I think that using another port is fine. It's not ideal though.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to