Maybe that's what you're looking for?
# coroutines
d
Maybe that's what you're looking for?
e
this is what i’m using now. actor pattern with fanout, but i don’t like that I have ~200 coroutines waiting. I know it’s ok to run 1million coroutines but I’m looking for another way to do this
u
I'm not quite sure about your actual domain, but if those 200 coroutines represent 200 calls to
execute
from legitmate users of that function, I don't see how you can reduce that number other than just plainly discarding them.
I think you're good with what you have (apart from the fact that you actually have
size+1
workers 😉 )