Derek posted an excellent post about Cancelling work in flight when using Akka, by introducing a Work Awaiter and Work Scheduler instead of just a Worker like many implementations do.
Dear hakkers,
due to great interest and seeing how it works very well for other communities, Akka is joining the gitter fold. We have two public chat rooms currently configured:
The akka/dev channel replaces the akka-dev google group which is now closed for posting (but the archives remain).
Happy hakking!
Dear hAkkers,
we—the Akka committers—proudly present the first development milestone for Akka 2.4. Since the release of Akka 2.3.0 (already 14.5 months ago) much has happened, in particular around Streams & HTTP. It may therefore surprise you that these additions to the Akka toolkit are not yet part of the 2.4 development branch, but if you read on for a little while the pieces of the puzzle will fall into place. Besides a plethora of small improvements the main changes relative to the 2.3.x series are:
Being binary compatible means that applications and libraries built on top of Akka 2.3.x continue to work with Akka 2.4.x without recompilation (subject to the conditions below), which implies that Akka Streams & HTTP as well as the upcoming Play Framework 2.4 can be combined with Akka 2.4.
What remains to be done before we can release 2.4.0-RC1 is to
We will perform this work within the next weeks, releasing further milestones when appropriate. Please do what you usually do so well: try out our latest and report back when things break, not work as advertised, feel strange, or even when you are happy :-) Especially concerning binary compatibility we will need help from the community (you!) since we cannot run all possible programs ourselves; we base our BC efforts on the MiMa plugin but that is no perfect guarantee that everything will work out of the box.
Akka 2.4.x is backwards binary compatible with previous 2.3.x versions (exceptions listed below). This means that the new JARs are a drop-in replacement for the old one (but not the other way around) as long as your build does not enable the inliner (Scala-only restriction). It should be noted that Scala 2.11.x is is not binary compatible with Scala 2.10.x, which means that Akka’s binary compatibility property only holds between versions that were built for a given Scala version—akka-actor_2.11-2.4-M1.jar is compatible with akka-actor_2.11-2.3.11.jar but not with akka-actor_2.10-2.3.11.jar.
Binary compatibility is not maintained for the following:
The dependency to Netty has been updated from version 3.8.0.Final to 3.10.3.Final. The changes in those versions might not be fully binary compatible, but we believe that it will not be a problem in practice. No changes were needed to the Akka source code for this update. Users of libraries that depend on 3.8.0.Final that break with 3.10.3.Final should be able to manually downgrade the dependency to 3.8.0.Final and Akka will still work with that version.
The dependency to Typesafe Config has been updated from 1.2.1 to 1.3.0 which should be binary compatible for the vast majority users, except for obscure edge cases as its changelog points out. This change was made in order in order to use new JDK8 specific features in the library as well as to align Akka with Play which is now also depending on 1.3.0.
When migrating a code base to 2.4 please refer to the migration guide in order to profit from some of the improvements.
We are extraordinarily proud of the long list of contributors to this release, looking at the commit history we find more than 100 names! We are particularly thankful to hepin1989 (a.k.a. kerr) who contributed already 19 pull requests to Akka. Other noteworthy mentions besides Andrei Pozolotin’s, Dominic Black’s and Richard Marscher’s (which are already listed above) are:
The complete list of closed tickets can be found in the 2.4-M1 github issues milestone.
For the full stats see the announcement on the website.
Happy hakking!
An interview with Akka project team lead Dr. Roland Kuhn conducted at JAX Award ceremony.
Takipi posted a blog post, where Alex Zhitnitsky (@tkfxin) interviewed Akka Project Tech Lead Dr. Roland Kuhn on the Akka Streams, Akka HTTP and Akka Typed projects.
A blog post by @josdirksen on visualizing backpressure while processing data using akka-streams.
Dear hAkkers,
we—the Akka committers—are exceptionally proud to present the first RELEASE CANDIDATE or Akka Streams & HTTP. While this is not the end of the journey—several features are going to be added after 1.0—the time has come to declare a (very) useful subset of the intended functionality ready for public consumption. Since the last milestone we have added the following high-level features:
.named).log)In addition we fixed many small things, as usual, and we also did some last renames and reorganizations in order to offer a consistent API:
akka.japi.function).section in favor of .withAttributes and .viaWhile we now have all the ingredients—SslTls and HTTP are BidiFlows that can be connected—we do not yet have nice convenience APIs for using HTTP and SSL together. This will come in one of the next releases, perhaps even before 1.0.
The cookbook section of the streams documentation has not yet been ported to Java, but the text of the Scala version applies to both languages. More documentation will follow in general, in particularly SslTls currently only has API docs.
The akka-http-core module is still missing the Java side of the multipart model (#15674).
Working with HTTPS (client- and server-side) is not yet as easy as it will be.
Additionally not all of the directives that make up the high-level server-side API in akka-http-scala have proper counterparts in akka-http-java (#16436). We will close these gaps shortly.
The complete list of closed tickets can be found in the streams-1.0-RC1 and http-1.0-RC1 github issues milestones.
The activator templates have also been updated:
We’d like to thank all of you for testing and for providing feedback on our progress.
commits added removed
34 5010 3277 Mathias
22 4711 256 Johannes Rudolph
21 2211 1326 Patrik Nordwall
13 2921 296 Konrad Malawski
7 2712 1506 Roland Kuhn
5 2040 365 Endre Sándor Varga
5 1622 1182 Martynas Mickevičius
1 1 1 Jun
Happy hAkking!
We—the Akka committers—are pleased to be able to announce the availability of Akka 2.3.10. This is the tenth maintenance release of the 2.3 branch. This release contains several important improvements:
The complete list of closed tickets can be found in the 2.3.10 github issues milestone.
For the full stats see the announcement on the website.
The Akka clone for Microsoft’s Common Language Runtime (CLR) that the team around Roger Alsing and Aaron Stannard have been working on for over a year now has reached version 1.0, congratulations!
Read the announcements on the Petabridge and Typesafe blogs for more details.
Example producer consumer(s) application that shows how Akka routing can be used to balance the load of the nodes in an Akka Cluster. Fully described in this blog post.