phoenix-dataplane / phoenix

Phoenix dataplane system service
https://phoenix-dataplane.github.io
Apache License 2.0
50 stars 9 forks source link

Find a good way to do adaptive polling/eventfd, for both rdma/tcp #200

Open crazyboycjr opened 1 year ago

crazyboycjr commented 1 year ago

Is that even possible?

The current way of doing busy polling + eventfd is sort of ad-hoc. Somehow the epoll needs to be executed by the runtime instead of Futures running on them. But does that mean we cannot leverage the existing various executors and must implement our own executor?