Commit graph

46 commits

Author SHA1 Message Date
Roland Kuhn
9db36727c0 fix and document VirtualProcessor, fixes #19790 2016-03-09 13:19:40 +01:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Endre Sándor Varga
4ba4c27b0f splitting up TLS APIs 2016-02-16 21:49:35 +01:00
Roland Kuhn
7b7647435b ensure that graph attributes are not lost
- this entails making Module.isSealed==true if attributes are set
- also removed Module.nest(), which implied fixing replaceShape to form
  a CompositeModule where CopiedModule was used before (GraphModule and
  TlsModule)
2016-02-12 10:07:55 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Endre Sándor Varga
60497f6561 also fix FlowInterleaveSpec
Also-by: Johan Andrén <johan@markatta.com>
Also-by: Roland Kuhn <rk@rkuhn.info>
Also-by: Martynas Mickevičius <mmartynas@gmail.com>
2016-01-20 10:01:58 +02:00
Konrad Malawski
f4f75c45bf =htc disable fuzzing-mode by default in TestServer
So I won't catch myself again and again measuring something with fuzzing on ;)
2016-01-07 11:08:48 +01:00
Roland Kuhn
469e15581f fusable SplitWhen and reusable HTTP blueprint
plus further optimizations

Lots of contributions from drewhk (Endre Varga).
2015-12-21 12:28:21 +01:00
Roland Kuhn
af99b1eae8 #19197 implement SubFusingActorMaterializer
and use it in FlattenMerge
2015-12-17 13:35:37 +01:00
Endre Sándor Varga
a5d29f2459 +str: Implement PrefixAndTail as a GraphStage 2015-12-16 10:46:57 +01:00
Endre Sándor Varga
b478d70964 !str #19137: Rename inlet and outlet to in and out on Flow/Source/SinkShape 2015-12-15 16:49:52 +01:00
Roland Kuhn
a20bbce433 add fusing 2015-12-15 09:24:52 +01:00
Roland Kuhn
1500d1f36d !str #19005 make groupBy et al return a SubFlow
A SubFlow (or SubSource) is not a Graph, it is an unfinished builder
that accepts transformations. This allows us to capture the substreams’
transformations before materializing the flow, which will be very
helpful in fully fusing all operators.

Another change is that groupBy now requires a maxSubstreams parameter in
order to bound its resource usage. In exchange the matching merge can be
unbounded. This trades silent deadlock for explicit stream failure.

This commit also changes all uses of Predef.identity to use `conforms`
and removes the HTTP impl.util.identityFunc.
2015-12-10 12:27:16 +01:00
Roland Kuhn
073e7058dc !str #15089 add flatMapMerge 2015-12-02 09:01:20 +01:00
Konrad Malawski
7afb750380 =str make StageActorRef "single" and watchable, fix some tests 2015-11-30 13:39:35 +01:00
Konrad Malawski
df93b2f883 =str Use SeqActorName in more places 2015-11-30 13:38:32 +01:00
Konrad Malawski
5b3c04572f =htp Fixes early error also being signalled as error via event 2015-11-30 13:38:32 +01:00
Konrad Malawski
7d4304fc6e Merge pull request #18888 from spray/wip-16468-mathias
+htp #16468 add `withSizeLimit` modifier to `HttpEntity`
2015-11-13 18:46:35 +01:00
Mathias
8e0373731d +str enable custom Attributes, add a few more helper methods for attribute querying 2015-11-11 21:29:38 +01:00
Endre Sándor Varga
c4417a8c39 +str #18798: Fuzzing mode for the interpreter
*PHEAR ME*
2015-11-10 15:59:03 +01:00
Viktor Klang
50c6f2267c !str - replaces flattenConcat with flatMapConcat 2015-11-03 22:17:28 +01:00
Alexander Golubev
7a78160c26 =str #18037 FlowOps.log exception handler does not follow supervision strategy 2015-11-02 09:37:39 -05:00
Roland Kuhn
556012b7ee !str,htc replace and remove OneBoundedInterpreter
main work by @drewhk with contributions from @2m and @rkuhn

This work uncovered many well-hidden bugs in existing Stages, in
particular StatefulStage. These were hidden by the behavior of
OneBoundedInterpreter that normally behaves more orderly than it
guarantees in general, especially with respect to the timeliness of
delivery of upstream termination signals; the bugs were then that
internal state was not flushed when onComplete arrived “too early”.
2015-11-01 14:53:52 +01:00
Roland Kuhn
02810cfa64 !str,htc remove FlexiMerge/Route
- replace all occurrences with equivalent GraphStage implementations

This commit introduces a mini-DSL for GraphStage that allows emitting or
reading multiple elements to/from a port with one statement, installing
stateful handlers on the port to make it work. The emitting side allows
stacked continuations, meaning that while an emit() is ongoing (waiting
for demand) another one can be added to the queue; this allows
convenient formualation of merge-type stages.
2015-10-21 18:52:16 +02:00
Konrad Malawski
61c2213e02 +str #17383 implement intersperse 2015-10-19 13:17:23 +02:00
Endre Sándor Varga
26680c3477 +str: fusable fan-in and fan-out ops 2015-10-01 14:41:33 +02:00
Roland Kuhn
68ba0643d6 =str,htp clean up build warnings
- explicitly provide Unit values and place parens around tuple creation
- remove structural type usage in TestUtils
- fix Java double-casts
- use unused Java values by asserting their non-nullness
- work around inability to place case class in trait (scripted test)

The remaining warnings about using private types in public methods are
bogus as reported in https://issues.scala-lang.org/browse/SI-9490.
2015-09-25 15:20:23 +02:00
Endre Sándor Varga
eec8bd689f =str: TickSource is now a GraphStage 2015-09-21 10:30:14 +02:00
Endre Sándor Varga
12c9abb8c9 !str #16410 #16597: Removed TimerTransform, added Timeout stages 2015-09-18 12:38:36 +02:00
Endre Sándor Varga
19c20dfb20 +str: Support for arbitrary, fusable graph processing stages (octopus) 2015-09-08 15:34:10 +02:00
Alexander Golubev
cb0fc1999f =str #16967 add buffer to headSink and "take" state 2015-08-20 07:20:10 -04:00
André Rüdiger
6af9ced35c =str: various minor cleanups 2015-08-18 11:36:24 +02:00
drewhk
0c6ed6d83d Merge pull request #18081 from tdhd/sliding_stream
Sliding stream implementation
2015-08-17 10:12:35 +02:00
Philipp
ac007efc0d +str: Sliding window operation 2015-08-14 17:00:30 +02:00
Johannes Rudolph
ce78c46115 !str #18059 new hostInfo parameter to SslTls to transport createSslEngine arguments 2015-07-23 15:12:59 +02:00
Konrad Malawski
2c8919ce3f Merge pull request #17998 from ktoso/agolubev-agolubev-#16965-UnzipWith-2.3-dev-based
Agolubev #16965 unzip with 2.3 dev based
2015-07-15 11:41:21 +02:00
Alexander Golubev
50de39e886 +str #16965 add generalized UnzipWith 2015-07-15 10:58:45 +02:00
Alexander Golubev
630343e483 +str #16394 recover operation 2015-07-15 10:34:56 +02:00
Viktor Klang
66a116d3d2 -str - Improvements and renames in internal streams classes
* Renames Module.grow -> Module.compose
 * Renames Module.connect -> Module.wire
 * Renames Module.growConnect -> Module.fuse
 * Renames Module.wrap -> Module.nest

 * Adds explicit identity equals and hashCode to InPort and OutPort

 * Reimplements many of the Source factories to avoid copying

 * Documents Module.compose, Module.fuse, Module.wire and Module.nest

 * Removes Attributes.nameLifted

 * Optimizes Attributes.nameOrDefault
2015-07-13 23:39:45 +02:00
Viktor Klang
2725bfc044 =str - Various internal Akka Stream improvements
* Gives Inlets and Outlets a `carbonCopy` method and switches to allocate them via `apply`
* Removes 4 Array allocations per FanIn and uses a bitmasked array instead
* Makes the FlattenStrategy.concat instance a singleton
2015-06-30 11:45:50 +02:00
Viktor Klang
36abbb4234 Introduces fold as a Flow transformation and generalizes Sink.fold to be Flow.fold + Sink.head
Conflicts:
	akka-stream/src/main/scala/akka/stream/impl/ActorMaterializerImpl.scala
	akka-stream/src/main/scala/akka/stream/impl/Stages.scala
	akka-stream/src/main/scala/akka/stream/scaladsl/Sink.scala
2015-06-30 10:17:52 +02:00
Endre Sándor Varga
292eba2d73 =str: Materializer should report being shut down on sys termination 2015-06-25 12:54:29 +02:00
Endre Sándor Varga
df35562c0b Make broadcast cancellation configurable 2015-06-24 14:44:07 +02:00
Endre Sándor Varga
c7a974dd1e Rename RunnableFlow to RunnableGraph 2015-06-23 18:49:53 +02:00
Endre Sándor Varga
7879a5521b Rename FlowMaterializer to Materializer 2015-06-23 18:47:28 +02:00
Renamed from akka-stream/src/main/scala/akka/stream/impl/ActorFlowMaterializerImpl.scala (Browse further)