bergie / dnode-php

DNode RPC protocol implementation for PHP
MIT License
430 stars 86 forks source link

Build on top of React #10

Closed igorw closed 12 years ago

igorw commented 12 years ago

I created a library for building a socket server: https://github.com/react-php/react

It has a WIP event loop component that could be used by the client as well.

The main benefit of having dnode on top of SocketServer is that every library using the SocketServer EventLoop can be run in the same loop easily. The other thing is that I want to create additional EventLoop implementations (eg. libevent), so that we can get performance gains but still have a stream_select fallback.

I'm very interested in any feedback from other projects trying to integrate the library, so an outside view would be interesting for me.

igorw commented 12 years ago

Note: the stream_socket_client should in that case use the STREAM_CLIENT_ASYNC_CONNECT flag.

bergie commented 12 years ago

That sounds like a good fit for DNode. Not sure when I have time to integrate, though