ANNOUNCE: First akka-http-core preview and updated akka-stream preview

1,177 views
Skip to first unread message

Björn Antonsson

unread,
Jun 27, 2014, 5:44:03 AM6/27/14
to akka...@googlegroups.com, akka-dev, spray...@googlegroups.com

Dear Akka and Spray community,


we are very happy and excited to release the first preview of Akka HTTP’s core module based on an updated preview of Akka Streams. It is the fruit of the collaboration between the Spray and Akka teams and aims to bring you fully reactive HTTP streams.

  • Both HTTP requests and responses can incorporate data that are streamed on demand, be that from disk or computed on the fly.

  • The HTTP streams as well as all the other streams, are fully back pressure aware, enabling the server to throttle clients when necessary, or vice versa.


The Streams module now includes an expanded DSL for both Scala and Java, and the HTTP module has all the core functionality to build HTTP servers and clients, as well as a brand new Java API for the HTTP model. The request handling DSL equivalent to spray-routing will be part of a future release.


This preview is intended to allow you to give feedback on the Java and Scala APIs. It is focused solely on functionality, in particular this means that performance is not yet on par with Spray. We will focus on performance enhancements once the functionality is complete.


For more information on Reactive Streams, you are welcome to read the official Typesafe announcement.


The aim for both of these projects are to be back-released against Akka 2.3.x and therefore the code lives in the dedicated release-2.3-dev branch in the akka repository. It will of course also be part of Akka 2.4, but that is going to be released only towards the end of the year, see the updated roadmap for more information.


So please give them a spin. We welcome any and all feedback, preferably in pull request form ;).


Artifacts

sbt:

"com.typesafe.akka" %% "akka-http-core-experimental" % "0.4"

"com.typesafe.akka" %% "akka-stream-experimental" % "0.4"


maven scala 2.10:

"com.typesafe.akka" "akka-http-core-experimental_2.10" "0.4"

"com.typesafe.akka" "akka-stream-experimental_2.10" "0.4"


maven scala 2.11:

"com.typesafe.akka" "akka-http-core-experimental_2.11" "0.4"

"com.typesafe.akka" "akka-stream-experimental_2.11" "0.4"


Documentation

http://doc.akka.io/docs/akka-stream-and-http-experimental/0.4/

http://doc.akka.io/api/akka-stream-and-http-experimental/0.4/

http://doc.akka.io/japi/akka-stream-and-http-experimental/0.4/


Regards,


Björn


-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

Ivan Topolnjak

unread,
Jun 27, 2014, 9:54:47 AM6/27/14
to akka...@googlegroups.com, akka...@googlegroups.com, spray...@googlegroups.com
Congratulations guys!

I had the chance to look trough the code a few days ago and was really surprised with how simple and concise it is, akka-http is (as Spray is also) a very interesting piece of engineering, keep up with the awesome work!

Timothy Perrett

unread,
Jun 27, 2014, 11:58:28 AM6/27/14
to akka...@googlegroups.com, akka...@googlegroups.com, spray...@googlegroups.com
Good news, well done all :-)

Is there any further news about the impending replacement for spray-routing and the future of its use of shapeless HList?

-- T

Michael Pisula

unread,
Jul 2, 2014, 5:25:25 AM7/2/14
to akka...@googlegroups.com, akka...@googlegroups.com, spray...@googlegroups.com
Hey guys,

great work =)

You might want to link to the docs directly from the akka docs page, right now there is only the link to the APIs and the dependency information under the "Akka Streams and HTTP" section.

Cheers,
The Michael ;-)

Patrik Nordwall

unread,
Jul 2, 2014, 8:28:06 AM7/2/14
to akka...@googlegroups.com, akka...@googlegroups.com, spray...@googlegroups.com
Fixed! Thanks Michael.
/Patrik


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



--

Patrik Nordwall
Typesafe Reactive apps on the JVM
Twitter: @patriknw

09goral

unread,
Jul 3, 2014, 4:24:12 AM7/3/14
to akka...@googlegroups.com, akka...@googlegroups.com, spray...@googlegroups.com
I want to note that I haven't yet used akka-http library but I have been using spray for some time now.

Out of curiosity, is there significant difference between akka-http and spray? Or akka-http is created to handle akka-streams?

√iktor Ҡlang

unread,
Jul 3, 2014, 5:33:32 AM7/3/14
to Akka User List, akka...@googlegroups.com, spray...@googlegroups.com


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



--
Cheers,

Sergio Tudela Romero

unread,
Jul 3, 2014, 6:50:52 AM7/3/14
to akka...@googlegroups.com, akka...@googlegroups.com, spray...@googlegroups.com
Woooow!!! fucking awesome!!! Thanks guys :D!!!
Reply all
Reply to author
Forward
0 new messages