Commit graph

19380 commits

Author SHA1 Message Date
Patrik Nordwall
5e90d4db40 =art place OutboundTestStage after SystemMessageDelivery stage (#20899)
* failing test was akka.cluster.AttemptSysMsgRedelivery when
  running with Artery
* we rely on that system messages are not dropped before
  the redelivery stage, i.e. blackhole must be after that
2016-07-08 01:00:41 +02:00
Patrik Nordwall
b4b89f1442 Merge pull request #20903 from akka/wip-more-adaptive-sampling-patriknw
adjust the hit count sampling with the rate
2016-07-07 21:39:49 +02:00
Patrik Nordwall
57ca273903 adjust the hit count sampling with the rate 2016-07-07 10:29:09 +02:00
Patrik Nordwall
2ac65756f4 Merge pull request #20900 from akka/wip-enable-compression-patriknw
enable compression by default
2016-07-07 07:52:27 +02:00
Patrik Nordwall
95a81e41f9 enable compression by default 2016-07-06 23:07:59 +02:00
Patrik Nordwall
4d749cc563 Merge pull request #20790 from akka/wip-latency-tests-patriknw
remove burstiness in latency tests
2016-07-06 21:55:49 +02:00
Patrik Nordwall
c376ac0c53 remove burstiness in latency tests
* throttle generates bursts but for fair latency tests
  we want the messages to be spread uniformly

* not much need for exploratory testing with AeronStreamsApp
  any longer, not worth to maintain it

* make it possible to run MaxThroughputSpec with old remoting

* add metrics for the task runner, with flight recorder

* tune idle-cpu-level
2016-07-06 20:53:05 +02:00
Patrik Nordwall
0a0d087846 Merge pull request #20878 from akka/wip-hit-count-sampling-patriknw
adaptive sampling of hit counting
2016-07-05 19:55:33 +02:00
Patrik Nordwall
d2657a5969 adaptive sampling of hit counting
* when rate exceeds 1000 msg/s adaptive sampling of the
  heavy hitters tracking is enabled by sampling every 256th message
* also fixed some bugs related to advertise in progress

* update InboundCompression state atomically

* enable compression in LatencySpec
2016-07-05 19:54:53 +02:00
Konrad Malawski
d1015c1dc6 Compression tables properly *used* for Outgoing Compression (#20874)
* =art now correctly compresses and 2 table mode working
* =art AGRESSIVELY optimising hashing, not convienved about correctness yet
* fix HandshakeShouldDropCompressionTableSpec
2016-07-04 16:48:11 +02:00
Patrik Nordwall
27275b4680 Merge pull request #20865 from akka/wip-aeron-0.9.9-patriknw
update to Aeron 0.9.9
2016-07-01 16:39:34 +02:00
Patrik Nordwall
d2c3c3ee3b update to Aeron 0.9.9 2016-07-01 15:38:39 +02:00
Patrik Nordwall
880a60e1af Merge pull request #20854 from akka/wip-outbound-envelope-patriknw
new OutboundEnvelope
2016-07-01 15:01:41 +02:00
Patrik Nordwall
b2089d06a7 new OutboundEnvelope
* instead of the old Send
* optional recipient, remove of dummy
* pool of OutboundEnvelope
2016-07-01 14:06:48 +02:00
Patrik Nordwall
a2a66b1fb3 Merge pull request #20822 from akka/wip-20811-flush-patriknw
flush messages on shutdown, #20811
2016-07-01 13:37:14 +02:00
Patrik Nordwall
5f4b265c6b enable flight recorder by config
* SyncronizedEventSink for the one used concurrently in ArteryTransport
* jvm is still crashing so disabled it for now
2016-07-01 12:30:09 +02:00
Patrik Nordwall
4865afe5ab remove invalid actorFor test
* it's actually possible to send msg to new incarnation
  with ref aquired with actorFor, the uid has special 0
  value when using actorFor
2016-07-01 12:29:05 +02:00
Patrik Nordwall
9ffe211546 adjust oversized error message 2016-07-01 12:29:05 +02:00
Patrik Nordwall
a021eb5ff4 flush messages on shutdown, #20811
* StreamSupervisor as system actor so that it is
  stopped after ordinary actors
* when transport is shutdown send flush message to all
  outbound associations (over control stream) and wait for ack
  or timeout
2016-07-01 12:29:05 +02:00
Konrad Malawski
d99274a51f =art #20455 compression tables advertised as a whole "2 tables mode" (#20863)
Squashed commit of the following:

commit 6dc45364eb285338885bc8a5f1c4f293a29a53fb
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Fri Jun 24 19:03:58 2016 +0200

    =art moved successfuly to 2 table mode
    envelope format prepared, versioned tables

    2 table mode working

commit 517723c5d61969988a9a93b99666824bf5bccb52
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Fri Jun 24 10:28:02 2016 +0200

    WIP

commit 3e05a733e087e0d5bd8df9cc4fff0d4bc1314ec8
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Wed May 18 02:28:12 2016 +0200

commit b51f1766a94b202cd42fcc9d5402327ad0800d2d
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Thu Apr 28 10:56:58 2016 +0200

    +art #20455 HeavyHitters and CountMinSketch prepared for Compression
2016-07-01 11:54:57 +02:00
Patrik Nordwall
8c3e583157 Merge pull request #20827 from ktoso/wip-perf-easier-multinode-ktoso
+tes introduce simple way to gather flamegraphs from multinode specs
2016-06-28 21:46:53 +02:00
Konrad Malawski
7c79b40dea +tes introduce simple way to gather flamegraphs from multinode specs 2016-06-24 13:19:16 +02:00
Patrik Nordwall
b6a94e1758 fix bug in SystemMessageAcker, #20709 (#20792)
* sequence numbers must, of course, be tracked by
  origin system
* add unit test for SystemMessageAcker stage
* enable ArteryRemoteRoundRobinSpec
2016-06-23 16:36:55 +02:00
Konrad Malawski
e818887bb2 +art #20455 HeavyHitters, CountMinSketch => ActorRef Compression
* +art #20455 HeavyHitters and CountMinSketch prepared for Compression

* +art #20455 compression tables and integration specs
2016-06-23 11:58:54 +02:00
Patrik Nordwall
d0adc01a7c Merge pull request #20752 from johanandren/wip-20714-port-remoting-spec-to-artery-johanandren
[WIP] Port RemotingSpec parts to artery
2016-06-16 13:24:40 +02:00
Patrik Nordwall
3478c06042 Merge pull request #20784 from akka/wip-remove-files-patriknw
delete embedded media files on shutdown, #20779
2016-06-14 22:19:47 +02:00
Patrik Nordwall
7ca0d53310 delete embedded media files on shutdown, #20779 2016-06-14 17:22:28 +02:00
Patrik Nordwall
e83fe04f61 Merge pull request #20713 from akka/wip-port-more-tests-patriknw
port remaining remote multi-node tests to Artery
2016-06-12 18:09:48 +02:00
Patrik Nordwall
bdfbffcde5 port remaining remote multi-node tests to Artery 2016-06-12 17:17:18 +02:00
Johan Andrén
19ce671156 Remote actor selection test cleaned up, but still not passing 2016-06-10 16:59:44 +02:00
Johan Andrén
c8eadd7d08 Porting RemotingSpec to artery #20714 2016-06-10 16:27:06 +02:00
Patrik Nordwall
415a1cc7f9 Merge pull request #20766 from akka/wip-20625-cpu-level-patriknw
make cpu vs latency configurable, #20625
2016-06-10 16:09:03 +02:00
Patrik Nordwall
3eceb241e1 make cpu vs latency configurable, #20625
* the actual default values will be measured and tuned later
2016-06-10 16:08:10 +02:00
Patrik Nordwall
39f6a9dcf3 Merge pull request #20759 from akka/wip-20715-remote-deployment-patriknw
make remote deployment work with Artery, #20715
2016-06-10 16:07:17 +02:00
Patrik Nordwall
5c234940c6 make remote deployment work with Artery, #20715
There were two related problems with remote deployment when
using Artery.

* DaemonMsgCreate is not a SystemMessage, but must be sent over the control stream because
  remote deployment process depends on message ordering for DaemonMsgCreate and Watch messages.
  It must also be sent over the ordinary message stream so that it arrives (and creates the
  destination) before the first ordinary message arrives.
* The first point solves the creation of the remote deployed actor but it's not enough.
  Resolve of the recipient actor ref may still happen before the actor is created. This
  is solved by retrying the resolve for the first message of a remote deployed actor.
2016-06-10 15:15:57 +02:00
Johan Andrén
d6c048f59a A simpler ActorRefProvider config #20649 (#20767)
* Provide shorter aliases for the ActorRefProviders #20649
* Use the new actorefprovider aliases throughout code and docs
* Cleaner alias replacement logic
2016-06-10 15:04:13 +02:00
Patrik Nordwall
3f72e7dad1 Merge pull request #20754 from akka/wip-review-old-patriknw
system messages to deadLetters
2016-06-10 15:01:07 +02:00
Patrik Nordwall
7ce6dffabf send dropped system messages to deadLetters
* publish remote lifecycle event for quarantined
2016-06-10 13:21:17 +02:00
Patrik Nordwall
7a1a316e8a reduce allocations with specialized ImmutableLongMap (#20750)
* reduce allocations with specialized ImmutableLongMap

* backed by arrays, allocation free lookups with binary search
* use it for UID -> Association Map
* pass Association in InboundEnvelope to reduce to only
  one lookup per incoming message
* use ImmutableLongMap instead of the QuarantinedUIDSet
2016-06-10 13:04:23 +02:00
Patrik Nordwall
00764487d9 Merge pull request #20720 from akka/wip-optimize-allocations-patriknw
reduce allocations in Artery
2016-06-07 19:00:26 +02:00
Patrik Nordwall
64a61d5a4c object pool for InboundEnvelope 2016-06-07 18:58:59 +02:00
Patrik Nordwall
2e0986254c improve the test somewhat 2016-06-07 18:58:59 +02:00
Patrik Nordwall
a814034342 Option value class, to avoid allocations for optional sender 2016-06-07 18:58:59 +02:00
Patrik Nordwall
c808522f6d optimize access to association UniqueAddress 2016-06-07 18:58:58 +02:00
Patrik Nordwall
78797e537a adjust default-remote-dispatcher settings
* and fix materializer creation
2016-06-07 18:58:58 +02:00
Patrik Nordwall
0b953a54b2 optimize quarantine uid check
* specialized uid Set
2016-06-07 18:58:58 +02:00
Patrik Nordwall
6240acf25e improve performance of serializer lookup by id
* Map.apply allocates Some
2016-06-07 17:47:07 +02:00
Patrik Nordwall
08703d6191 avoid unessary wakeup in SendQueue 2016-06-07 17:47:07 +02:00
Patrik Nordwall
7a4d2386a6 Merge pull request #20695 from akka/wip-20589-blackhole-patriknw
test support for blackhole in Artery, #20589
2016-06-07 16:54:06 +02:00
Patrik Nordwall
45e0c86120 Merge pull request #20712 from akka/wip-remote-tests-patriknw
port some remote tests to Artery
2016-06-07 15:58:33 +02:00