Closed josevalim closed 4 years ago
:concurrency
(as in :max_concurrency
in Task.async_stream/*
):processes
are my suggestions. Great change btw :)
:+1: for :concurrency
- personally i'd rather not use processes because we have processor(s), too.
@josevalim, thanks for the cc. You are on top of things and I wish I had been on top of making a suggestion here. I was right in the thick of it when we started the recording and never got back to it. Thank you. ❤️
I think that :concurrency
is a nice suggestion because it speaks to the purpose. :processes
points me to what is going on under the covers and makes me think of OTP level abstractions. So, I'm a little torn. I think that I would go with :concurrency
if I had to pick one on the spot.
@josevalim can we deprecate stages? I can do the work if you'd like. It would help us migrate :)
It has been deprecated in the commit above. :)
@josevalim completely missed that, sorry. I was on my phone 😄 Awesome 🙃
People often consider :stages to be multiple steps. Even the GenStage docs say:
/cc @adkron - if you have any other concrete suggestions on the docs, please let us know!