cats-effect icon indicating copy to clipboard operation
cats-effect copied to clipboard

Add (best-effort) stealing API to polling system

Open armanbilge opened this issue 1 year ago • 2 comments
trafficstars

In https://github.com/typelevel/cats-effect/discussions/3873#discussioncomment-8356851 we decided that we will support stealing for load-balancing. Thus, we should add an API to the polling system that allows completed I/O to be stolen. Not all polling systems will be able to implement this, but hopefully some of them can, such as io_uring, see https://github.com/typelevel/cats-effect/discussions/3873#discussioncomment-7608898.

armanbilge avatar Feb 19 '24 20:02 armanbilge

I wanted to work on this issue. Also I was hoping you could tell me how you want to proceed forward with this, I saw your PR and I was just wondering why it hadn't been merged yet

Dralt03 avatar Mar 27 '25 08:03 Dralt03

I wanted to work on this issue. Also I was hoping you could tell me how you want to proceed forward with this, I saw your PR and I was just wondering why it hadn't been merged yet

@Dralt03 The reason it isn't merged yet is explained in https://github.com/typelevel/cats-effect/pull/4113#pullrequestreview-2395389761. Basically we want to have a concrete usage / implementation before merging.

armanbilge avatar Mar 29 '25 00:03 armanbilge