Hello,

I've been looking at the akka-streams, and got two questions:

- is it reasonable (thinking about reactive streams in general) to have an 
actor which produces elements on-demand (instead of providing a 
collection/iterator/() => as is currently supported)? As far as I 
understand the current implementation, subscribers explicitly ask 
publishers for more elements (through Subscription.requestMore) - so it 
seems it would be possible to pass such a request to an actor and ask for 
the given amount of elements. Is there any chance to get "actor producers" 
in some future releases, or there are no such plans currently?

- another thing is if the streams are thought to be more local, or remote 
as well? There's currently the TCP stream implementation, which I guess 
would indicate remote as well (and in such scenarios the need for 
backpressure arises quite naturally, maybe even more than in locally), but 
do you plan to develop this somehow? E.g. when there would be multiple 
consumers for a single producer, a useful component would be a 
load-balancer which takes into account the backpressure information. 

Thanks!

-- 
Adam

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to