FYI, Roland's docs update merged: https://github.com/akka/akka/pull/19268
I'll release 2.0.1 today as we found a bug in InputStreamPublisher.

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe

On 23 December 2015 at 09:14:58, Adam Warski (a...@warski.org) wrote:


:-)

But you are right, even though “semantics” didn’t change—for some suitable 
definition—user expectations may still be violated. I’ll write up some docs 
right away, it would be great if you could review them—I’ll ping you (@adamw, 
right?).

Sure :) @adamw is the right handle
A similar effect is when there are e.g. two computationally expensive, 
consecutive .map stages (they will now be processed sequentially, not 
concurrently), however with splits I think it was a very natural expectation 
that things will be processed in parallel.

Not necessarily. This is why the user gets to decide by declaring (some of) the 
branches as asynchronous.

Sure, though that's how I thought about broadcast, or merge. Maybe it's a 
common misconception, but probably it's just me :)

What we’re aiming for is absolutely homogenous rules, it would be strange if 
some combinators worked differently than others. In this case that implies that 
we’ll need to teach people about this rule, but that cannot be avoided unless 
using magic—which is forbidden by rule #1.

Right, I just need to switch from "implicit parallelism" to "explicit 
parallelism" :) 
For linear flows, e.g.:

Source(List(1, 2, 3))
  .map(_ + 1)
  .withAttributes(asyncBoundary) 
  .map(_ * 2)
  .to(Sink.ignore)

here two actors will be created? First wrapping the Source & map(_ + 1), second 
the map(_ * 2) & sink?

Again correct  :-) Would you mind if I just used this example in the docs?

Sure, no problem :)

Thanks again!

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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to