Commit graph

1184 commits

Author SHA1 Message Date
Charies Gavin
7e9366095e Update cluster-metrics.md (#26937)
delete duplicate dependency content
2019-05-21 08:30:17 -04:00
Arnout Engelen
f9f3d2b683
Clarify what versions migration applies to 2019-05-21 10:42:34 +02:00
Nicolas Vollmar
f37f41574d Implements actorRef source variant with backpressure #17610 (#26633)
* Implements actorRef source variant with backpressure #17610

* Small improvements to documentation and source #17610

* Small improvements to test #17610

* Small improvements to implementation and tests #17610

* Adds API for akka-typed #17610

* Adds ack sender and java api for typed #17610
2019-05-20 12:19:44 +02:00
Patrik Nordwall
a2658cc8a0
Merge pull request #26933 from akka/wip-ClusterSingletonProxySpec-patriknw
more classic remoting leftovers
2019-05-17 11:07:29 +02:00
Patrik Nordwall
5db334f2b1
Merge pull request #26893 from jrudolph/jr/remove-fjp-copy
act: remove shaded fork join pool implementation
2019-05-17 10:44:55 +02:00
Renato Cavalcanti
8eef461b7b Adds EventSourcedEntity with EnforcingReplies (#26692) 2019-05-17 09:09:18 +02:00
Martynas Mickevičius
18d970fc8e Add setup operator #26192 2019-05-17 08:54:18 +02:00
Arnout Engelen
7b20b89ce0
Add ByteString.emptyByteString to Java API (#26931)
* Add ByteString.emptyByteString to Java API

To work around https://github.com/scala/bug/issues/11509

* Add note to 2.6 migration document
2019-05-16 14:02:49 +02:00
Patrik Nordwall
ce438637bb Improve performance of DDataShard stashing, #26877
* While waiting for update to comple it will now deliver messages to other
  already started entities immediately, instead of stashing
* Unstash one message at a time, instead of unstashAll
* Append messageBuffer for messages to the entity that we are waiting for,
  instead of stashing
* Test to confirm the improvements
* Fixing a few other missing things
  * receiveStartEntity should process the change before starting the entity
  * lastMessageTimestamp should be touched from overridden deliverTo
  * handle StoreFailure
2019-05-16 11:39:28 +02:00
Patrik Nordwall
71e9bdc262 more classic remoting leftovers
* fix several tests that were using akka.remote.netty.tcp config
* replace akka.tcp with akka in more places
* some doc cross references to remoting.md
2019-05-15 19:34:50 +02:00
Johan Andrén
32af30ee0a Restart hooks ordered list format fix (#26898) 2019-05-13 16:36:51 +01:00
Christopher Batey
c785a1cacd
Fix formatting for supervision.md (#26907)
Bullets not rendered due to missing space
2019-05-13 16:34:17 +01:00
Johan Andrén
cd877e126f
Typed receptionist clashes with the clusterclient receptionist #26848 2019-05-09 12:59:45 +02:00
Arnout Engelen
d3adeb8e0d Clarify docs for Flow.ask generic parameter (#26701)
* Clarify docs for Flow.ask generic parameter

* Java/scala switch

* Throw specific ClassCastException in Flow.ask

Benchmark seems too noisy to draw any real conclusions, but seems not terrible:

```
pre:
Score        Error  Units
[info] AskBenchmark.mapAsync              1    false  thrpt    3  323497.536 ±  38733.024  ops/s
[info] AskBenchmark.mapAsync              1     true  thrpt    3  327001.647 ± 382202.906  ops/s
[info] AskBenchmark.mapAsync              4    false  thrpt    3  457725.806 ±  67583.859  ops/s
[info] AskBenchmark.mapAsync              4     true  thrpt    3  451728.770 ±  74886.315  ops/s

post:
[info] Benchmark              (parallelism)  (spawn)   Mode  Cnt       Score        Error  Units
[info] AskBenchmark.mapAsync              1    false  thrpt    3  338509.183 ± 160893.556  ops/s
[info] AskBenchmark.mapAsync              1     true  thrpt    3  345710.807 ± 505445.147  ops/s
[info] AskBenchmark.mapAsync              4    false  thrpt    3  737276.613 ±   3306.911  ops/s
[info] AskBenchmark.mapAsync              4     true  thrpt    3  697960.417 ± 454528.184  ops/s

[info] Benchmark              (parallelism)  (spawn)   Mode  Cnt       Score        Error  Units
[info] AskBenchmark.mapAsync              1    false  thrpt    3  349120.202 ± 111625.074  ops/s
[info] AskBenchmark.mapAsync              1     true  thrpt    3  440218.776 ± 817228.408  ops/s
[info] AskBenchmark.mapAsync              4    false  thrpt    3  665269.418 ±  10502.449  ops/s
[info] AskBenchmark.mapAsync              4     true  thrpt    3  471313.943 ±  35173.757  ops/s

```

* Formatting, use tag.runtimeClass
2019-05-08 18:57:31 +02:00
Johannes Rudolph
c90f5720b3
act: remove shaded fork join pool implementation
I ran a series of benchmarks and there seem to be different behaviors between the existing and JDK
ForkJoinPools especially on JDK11 and Graal. The results have been really inconclusive about which one would be a benefit overall.

In lack of better evidence, there is not much reason to keep our own copy, so there it goes.

(I couldn't reproduce the high system CPU usage with more recent JDKs that Patrik noticed when
we had it on the table the last time in #22560.)

Fixes #26180.
2019-05-08 17:30:16 +02:00
Barnabás Oláh
40d3fd867b fix broken link for typed snapshots (#26882) 2019-05-08 15:03:06 +02:00
Patrik Nordwall
fbaa9a9500
Merge pull request #26860 from akka/wip-migration-fix-patriknw
cleanup migration guide
2019-05-03 12:37:22 +02:00
Christopher Batey
c65bf2d276 Remove docs for ActorPub/Sub and write persistence query docs as stages (#26844)
* use separate db columns
* Use io dispatcher for sample stage
2019-05-03 12:36:50 +02:00
Patrik Nordwall
669c688055 cleanup migration guide 2019-05-03 11:21:13 +02:00
Patrik Nordwall
2bbf13f707
Run CoordinatedShutdown from ActorSystem.terminate #25213 (#26830) 2019-05-03 10:47:47 +02:00
Johan Andrén
81b1e2ef9b Internal dispatcher to protect against starvation (#26816)
* Allow for dispatcher aliases and define a internal dispatcher
* Test checking dispatcher name
* MiMa for Dispatchers
* Migration guide entry
* No need to have custom dispatcher lookup logic in streams anymore
* Default dispatcher size and migration note about that
* Test checking exact config values...
* Typed receptionist on internal dispatcher
* All internal usages of system.dispatcher gone through
2019-05-02 22:35:25 +02:00
Patrik Nordwall
e34a711adf
Merge pull request #26831 from akka/wip-26190-actorFor-patriknw
Remove remainings of actorFor, #26190
2019-05-02 20:41:13 +02:00
Christopher Batey
e2fafb93d8 Fix config blocks in classic remoting docs (#26851)
* Fix config blocks in classic remoting docs

* Update akka-docs/src/main/paradox/remoting.md

* Update akka-docs/src/main/paradox/remoting.md
2019-05-02 20:20:02 +02:00
Patrik Nordwall
14de568570 Remove remainings of actorFor, #26190
* remove undefinedUid specials related to actorFor
* mention in migration guide
* remove special case for watch of undefinedUid
2019-05-02 19:17:40 +02:00
Johan Andrén
267d96ecf1 Remove Timing operator (#26845)
* Remove Timing operator #26188

* Mima
2019-05-02 19:11:54 +02:00
Arnout Engelen
629383545f
Clean up paradox output (#26759)
Fix some validation problems
2019-05-02 18:23:33 +02:00
Patrik Nordwall
82c761f026
remove Future from StreamRefs mat val, #24372 (#26847) 2019-05-02 16:54:37 +02:00
Arnout Engelen
282b38e832
Remove akka-contrib (#26769)
* Remove akka-contrib #26183

This module has been deprecated since 2.5 and is removed in 2.6
2019-05-02 12:09:11 +02:00
Christopher Batey
efc3adc08d
Make artery the default remoting (#26772) 2019-05-01 08:12:09 +01:00
Helena Edelson
5fce4bea63
Enable passivate-idle-entity-after by default #25782 (#26819) 2019-04-30 08:11:31 -07:00
Helena Edelson
22f31b4d69 Wrong link in doc, also directs to bad URL #26823 (#26824) 2019-04-30 16:22:22 +02:00
Christopher Batey
9cc5048c35 Show how to run plugin tck from java (#26829) 2019-04-30 14:17:45 +02:00
Arnout Engelen
f17941d614 Move 'Remoting' under 'Clustering' in the docs (#26774)
* Move 'Remoting' under 'Clustering' in the docs #26491

* As it is typically not used directly, but as an implementation detail of
Clustering.

* Warn when remoting is used directly #26491
2019-04-29 13:18:03 +02:00
Arnout Engelen
54d01a4005
Add to migration guide 2019-04-26 16:56:44 +02:00
Arnout Engelen
07f4628ddc
Remove 'agents' page from documentation 2019-04-26 16:56:14 +02:00
Arnout Engelen
a8bd5af1fb
Remove akka-agent #26184 2019-04-26 16:55:50 +02:00
Patrik Nordwall
309027de14
cleanup migration guides toc (#26805)
* cleanup migration guides toc
* add redirects for removed migration guides
2019-04-26 10:22:11 +02:00
Arnout Engelen
96c8ef4257 Remove akka-camel (#26768)
* Remove akka-camel

This module has been deprecated since 2.5.0 and will now be removed in 2.6.

If there is interest it can be moved to a separate community-maintained repo.

* Add note to migration guide

* Remove from allModules as well
2019-04-25 15:55:25 +02:00
Christopher Batey
39b344c508 Remove actor dsl (#26784)
* Removals of actor dsl
* Mima for actor dsl removal
* Remove inbox doc test
* Keep main in echo server example
2019-04-25 15:53:27 +02:00
Patrik Nordwall
058200ce88 update other modules page 2019-04-24 07:58:38 +02:00
Erwin
e7e252140f Fixed documentation typos in DeviceGroup sample class (#26661) 2019-04-23 19:03:16 +02:00
Justin Pihony
06b6c7f034 Fix minor typo in docs (#26778) 2019-04-22 07:27:14 -07:00
Arnout Engelen
8394f7c33d Update MiMa: drop 2.4, add 2.5 (#26765)
* Update MiMa: drop 2.4, add 2.5

We promise binary compatibility across minor versions, which would in theory
mean we should check compatibility between 2.4 and 2.6.

However, since 2.4 is EOL, we no longer guarantee bincompat with it. In
practice this should not make much of a difference, since only in rare cases
would a change be binary compatible with 2.5 but not with 2.4.

* Don't run 2.11 on travis
2019-04-19 07:54:25 +01:00
Christopher Batey
0ab7a96ae2
Remove Scala 2.11 for Akka 2.6 (#26760)
* Remove Scala 2.11 for Akka 2.6

* Remove unused import

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Remove last few bits of 2.11
2019-04-19 07:53:27 +01:00
mszczygiel
d4813b91c3 Support for null in mapAsync and fromCompletionStage #25475 2019-04-16 09:08:05 +02:00
Patrik Nordwall
4399e499c4
Merge pull request #26628 from akka/migrationGuide
Remove ancient streams migration guide
2019-04-15 09:25:26 +02:00
yiksanchan
8376bee244 Replace deprecated expectNoMsg with expectNoMessage (#26695) 2019-04-08 16:14:42 +02:00
Jason Zaugg
e2dc818625 Fix typo in documentation (#26702) 2019-04-08 16:12:58 +02:00
Arnout Engelen
6207484c0e
Review follow ups for PR #26653 (#26668)
* Review follow ups for PR #26653

* Internal marker for error messages
2019-04-05 11:04:32 +02:00
Patrik Nordwall
0595975179
Merge pull request #26674 from chbatey/issue-26667
Guide for using artery udp inside a container
2019-04-04 16:06:28 +02:00