ANNOUNCE Akka Streams & HTTP 1.0-RC4

1,239 views
Skip to first unread message

Roland Kuhn

unread,
Jun 25, 2015, 5:43:34 AM6/25/15
to akka-user, scala-user

Dear hakkers,

we—the Akka committers—are pleased to announce the fourth release candidate for Akka Streams & HTTP. The most notable changes since 1.0-RC3 are:

  • One last big rename (yes, we are truly sorry about that): while the semantics had evolved around it, we never adapted the name of the FlowMaterializer—which actually is not for Flows but all kinds of Graphs; similarly OperationAttributes have no matching “Operation” that they apply to. Hence we shortened and simplified

    • FlowMaterializer to Materializer
    • ActorFlowMaterializer to ActorMaterializer
    • OperationAttributes to Attributes
    • ActorOperationAttributes to ActorAttributes
    • RunnableFlow to RunnableGraph (for consistency, since this is not a Flow)
  • optimized some primitive Sources to not create Actors (thanks, Viktor!)
  • fixed several problematic edge cases around stream and substream cancellation and error conditions
  • added ActorMaterializer.shutdown method to allow external shutdown
  • added basic framing support for byte streams
  • made TCP closing mode configurable (i.e. whether to enable half-close)
  • added a parallel version of foreach and made Sink.ignore materialize to Future[Unit]
  • made multipart/form-data uploads easier
  • fixed several small kinks in HTTP parsing (cookies, dates, …)
  • expanded documentation (in particular around HTTPS, websockets and the stream testkit)
  • plus lots of minor additions and improvements

For the full list please refer to the github milestones for Streams and HTTP.

Our intention (famous last words) is that this should be the last release candidate before 1.0, meaning that we would appreciate if you could test the provided functionality with real-world use-cases and push it to its limits.

Outlook and Planning: What about Performance?

Version 1.0 is intended to be fully functional but not yet optimized for performance. To make it very clear: Spray currently is a lot faster at serving HTTP responses than Akka HTTP is. We are aware of this and we know that a lot of you are waiting to use it in anger for high-performance applications, but we follow a “correctness first” approach. After 1.0 is released we will start working on performance benchmarking and optimization, the focus of the 1.1 release will be on closing the gap to Spray.

Release Statistics

636 files changed, 13061 insertions(+), 6372 deletions(-)

commits added removed
  37    4268    1023 Johannes Rudolph
  25    3309    2078 Endre Sándor Varga
  10     625     425 Mathias
   8     770     101 Martynas Mickevičius
   6     134     446 Viktor Klang
   5     383     179 Roland Kuhn
   4     505     192 Konrad Malawski
   2       7       5 Richard Bradley
   2     490       4 Alexander Golubev
   1      16      22 Martynas Mickevicius
   1       4       4 Philip L. McMahon
   1       8       5 Matthias Lüneberg
   1     169      19 Alek Storm
   1      11       3 Brian Topping
   1      14      14 2beaucoup
   1       1       1 Daniel Wegener

Thanks to Richard, Alexander, Philip, Matthias, Alek, Brian, André and Daniel for your contributions!

Happy hakking!


matheus...@gmail.com

unread,
Jun 25, 2015, 7:12:57 AM6/25/15
to akka...@googlegroups.com, scala...@googlegroups.com
Great work!
When will there be integration with cluster? Distribute workload of complex streams to many nodes.

Gary Struthers

unread,
Jun 27, 2015, 8:40:46 PM6/27/15
to akka...@googlegroups.com, scala...@googlegroups.com
After updating I can't find akka-http-spray-json-experimental for RC4 and get this error

[error] missing or invalid dependency detected while loading class file 'SprayJsonSupport.class'.

[error] Could not access type FlowMaterializer in package akka.stream,

[error] because it (or its dependencies) are missing. Check your build definition for

[error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)

[error] A full rebuild may help if 'SprayJsonSupport.class' was compiled against an incompatible version of akka.stream


Also, I can't find akka-http-testkit-experimental for RC4

Are these jars coming soon?


Gary

Mark van Buskirk

unread,
Jun 29, 2015, 6:37:54 AM6/29/15
to akka...@googlegroups.com, scala...@googlegroups.com
I see the site is now giving the RC3 dependencies and documentation. Did they pull RC4 back to fix a some bugs? Where can I find news like that?

Konrad Malawski

unread,
Jun 29, 2015, 6:39:43 AM6/29/15
to akka...@googlegroups.com, Mark van Buskirk, scala...@googlegroups.com
Hi Mark,
which site are you referring to specifically?
As you can see on http://akka.io/docs/ we're linking to RC4.

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe
--
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Endre Varga

unread,
Jun 29, 2015, 6:41:52 AM6/29/15
to akka...@googlegroups.com, scala...@googlegroups.com

Endre Varga

unread,
Jun 29, 2015, 7:00:18 AM6/29/15
to akka...@googlegroups.com, scala...@googlegroups.com
On Mon, Jun 29, 2015 at 12:41 PM, Endre Varga <endre...@typesafe.com> wrote:


On Sun, Jun 28, 2015 at 2:40 AM, Gary Struthers <agil...@earthlink.net> wrote:
After updating I can't find akka-http-spray-json-experimental for RC4 and get this error

[error] missing or invalid dependency detected while loading class file 'SprayJsonSupport.class'.

[error] Could not access type FlowMaterializer in package akka.stream,

This has been renamed from FlowMaterializer to Materializer. I suspect a version mismatch in your build setup. All artifacts should be the RC4 artifacts.

-Endre

Mark van Buskirk

unread,
Jun 29, 2015, 7:49:46 AM6/29/15
to akka...@googlegroups.com, scala...@googlegroups.com
My mistake I guess, I thought I saw RC3 when I did the process below. However now it's working as expected. :-)
Thanks!

Process:
google "akka"
click top link taking me to "akka.io"
click documentation
see  RC3 instead of RC4



You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/-GMxTVpZaDM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.

mkiedys

unread,
Jun 30, 2015, 11:20:43 AM6/30/15
to akka...@googlegroups.com, scala...@googlegroups.com
Thumbs up for more appropriate names and keep going! Awsome sauce.
Thank you for making this awsome project real. Not only it brings us type safe HTTP framework but also shows what can be done using Scala. I'm using Akka Streams & HTTP with Kafka without issues so far.

Thanks!

Roland Kuhn

unread,
Jun 30, 2015, 11:48:54 AM6/30/15
to akka-user, scala-user
Glad to hear that!

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



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


Reply all
Reply to author
Forward
0 new messages