Qing Wang
Qing Wang
根据代码的结构和设计,可能可以尝试支持windows作为开发选项, 这就要求实现一个IOCP的poller。 不过epoll和IOCP是两种事件模型,一个preactor,一个是reactor,我不确定当前的poller API是否会很容易地增加一个IOCP的实现。 如果你有时间的话可以尝试看一下。
你可以尝试一下, 我不确定可行
我推测要么是ubuntu19移除了这个宏或者你的vm环境没有这个宏? 但是ubuntu19移除这个宏可能性不大,也不合理而且我好像没找到移除的部分。 所以可能是你的vm或者环境没有这个宏或者宏叫其他名字? 这里的建议: 方便的话可以看看正常 其他的ubuntu19版本这个宏是否存在。 否则这部分的代码就需要改下了: https://github.com/yedf/handy/blame/master/handy/poller.cc#L8
感谢你的反馈,可否进一步提供一下这个场景下出错的信息? 是read的handler返回的error code是`connetction reset by peer 104`吗?
Yes. Please refer to this example https://github.com/yedf/handy/blob/master/examples/http-hello.cc#L12
I think it's too verbose to add ip address into actor handle. In Java, there's a `getAllNodeInfo()` API that can return the address of a node in Java. https://github.com/ray-project/ray/blob/master/java/api/src/main/java/org/ray/api/runtimecontext/RuntimeContext.java#L49 Also,...
If you guys think it's appropriate to do this, I'd like to request a PR to refine it. @wenweihu86 cc
I'd like to support this feature. Please let me know what your thought is.
OK, I'll finish it in the next several weeks.