This will be solved by Stage fusing which will allow you to denote a region
of the graph to be executed synchronously. The synchronous island will be
buffer-free internally and will only buffer at the edges. Asynchronous
boundaries will always have buffers.

-Endre

On Mon, Mar 30, 2015 at 10:36 AM, Peter Schmitz <[email protected]>
wrote:

>
> I know that, but a section of my Flowgraph (SubFlowGraph) should act like
> a single stream stage, that means having only one (possibly large) buffer
> for that section. The whole section will be used async. Currently each
> stage in my SubFlowGraph buffers at least one element. Sadly it's not
> possible to make that section a function f to use Flow[T].map(f).
> Any ideas?
>
>
> Am Montag, 30. März 2015 10:08:10 UTC+2 schrieb √:
>>
>> Hi Peter,
>>
>> Akka streams is about async stream processing and without a buffer you
>> cannot be async.
>>
>> --
>> Cheers,
>> √
>> On 30 Mar 2015 09:22, "Peter Schmitz" <[email protected]> wrote:
>>
>>> Actually ActorFlowMaterializerSettings is complaining
>>> about initialInputBufferSize = 0. What are the reasons you can't disable
>>> buffering elements by setting initialInputBufferSize and maxInputBufferSize
>>> to zero? I am aware that one of the core features of akka-stream is
>>> buffering to gain throughput. But in my use case I like to disable
>>> buffering at least for a certain stream-section. Are there other ways to
>>> accomplish this?
>>>
>>> Thanks in advance! Great job, guys!
>>>
>>> Peter
>>>
>>>  --
>>> >>>>>>>>>> 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.
>>>
>>  --
> >>>>>>>>>> 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.
>

-- 
>>>>>>>>>>      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