Commit graph

20524 commits

Author SHA1 Message Date
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
miaoqian
a7451fd888 =str ActorPublisher mustn't to signal onSubscribe on the given subscriber more than once. (#20733) 2016-06-10 13:46:59 +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
Bernard Leach
95cfbda030 =htc migrate BodyPartRenderer to GraphStage #20288 2016-06-10 08:21:53 +02:00
Piotr Krzemiński
9ffdf81507 +htc #20683 discardEntityBytes() combinator for draining entity stream (#20707) 2016-06-10 00:00:27 +02:00
Michal Sitko
b7fdcb06c4 +doc add depenedency note to docs #20732 (#20761) 2016-06-09 16:02:27 +02:00
Hawstein
efb18c95b1 example snippet for akka http java dsl: FileAndResourceDirectives (#20758) 2016-06-09 15:34:25 +02:00
Johan Andrén
16cde39de8 Better recovery timeout for persistent actors #20738 2016-06-09 14:58:32 +02:00
Robert Budźko
e40a2b21c4 +doc #20521 Enrich docs and tests regarding empty strings used in matchers (#20719) 2016-06-08 15:20:21 +02:00
Patrik Nordwall
3c2e31ea41 Merge pull request #20445 from kkasravi/issue_20414_kkasravi
fixes #20414 Allow different ActorMaterializer subtypes
2016-06-08 10:12:25 +02:00
kwyczesany
7fdd5983a3 +htp #19756: Add extractData and extractRequestEntity directives. (#20730)
* 19756: Add extractData and extractRequestEntity directives.

remove unnecessary import

* #19756: add documentation to extractDataBytes and extractRequestEntity directives
2016-06-07 21:02:38 +02:00
Piotr Krzemiński
735060da20 +doc updated Sphinx install guide (#20743)
* updated path to texlive basic 2016
 * added few missing packages
2016-06-07 20:53:22 +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
Kam Kasravi
049b95077f fixes #20414 Allow different ActorMaterializer subtypes 2016-06-07 07:13:03 -07: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
Patrik Nordwall
ea231b1cbc test support for blackhole in Artery, #20589 2016-06-07 15:47:12 +02:00
drewhk
47c1b5b9ad Merge pull request #20742 from drewhk/wip-reduce-internal-resume-allocations
Reduce internal allocation in ActorGraphInterpreter
2016-06-07 15:39:15 +02:00
Endre Sándor Varga
6932012007 Reduce internal allocation in ActorGraphInterpreter 2016-06-07 14:25:04 +02:00
drewhk
f31c2701a8 Merge pull request #20640 from drewhk/wip-artery-flightrecorder-drewhk
Flight recorder, initial data structure sketch
2016-06-07 12:55:07 +02:00
Endre Sándor Varga
089dd86632 Initial AFR instrumentation 2016-06-07 11:55:24 +02:00
Michal Sitko
bf76d6c389 +doc #20699 improve docs for akka-http (#20722)
Made imports in docs snippets more complete and a few minor improvements
2016-06-07 00:17:23 +02:00
Hawstein
87a9196088 +doc #20466 example snippet for akka http java dsl: FormFieldDirectives (#20731) 2016-06-06 20:45:36 +02:00
Stefano Bonetti
fc58fa1f05 Amending docs for KillSwitch #20708 (#20716) 2016-06-06 11:28:04 +02:00
Hawstein
0263774f82 +doc #20466 example snippet for akka http java dsl: RouteDirectives (#20721) 2016-06-06 10:24:49 +02:00
Hawstein
16e8f8f54a +doc #20466 example snippet for akka http java dsl: CodingDirectives (#20718) 2016-06-05 21:31:28 +02:00
Hawstein
ab83603733 +doc #20466 example snippet for akka http java dsl: ExecutionDirectives (#20710) 2016-06-05 21:29:58 +02:00
Patrik Nordwall
91fd55ab7f Merge pull request #20657 from akka/wip-send-queue-patrikwn
new send queue
2016-06-03 18:07:40 +02:00
Patrik Nordwall
a97290841f port some remote tests to Artery
* Some are failing and are marked as ignored, will open
  separate issues for those.
* All interesting tests apart from the big RemotingSpec.scala are
  ported. Relevant parts of it should be ported but into smaller
  more focused tests.
2016-06-03 17:27:11 +02:00
Patrik Nordwall
d236b8e152 new queue Source for remote sends
* new SendQueue Source based on agrona ManyToOneConcurrentArrayQueue
* jmh benchmark for send queue
* JMH benchmark for Source.queue, Source.actorRef and the new SendQueue
* inject the queue so that we can start sending to it before materialization
* Get rid of computeIfAbsent in the AssociationRegistry
  by making it possible to send (enque) messages to the
  Association instance immediatly after construction.
2016-06-03 17:23:19 +02:00
Endre Sándor Varga
18a15f33f3 Added reading support for testing 2016-06-03 16:26:10 +02:00
Endre Sándor Varga
38acf442e6 Flight recorder, initial data structure sketch 2016-06-03 16:20:54 +02:00
Patrik Nordwall
b45e7dd51c Merge pull request #20704 from akka/wip-sync-artery-patriknw
sync artery-dev with latest master
2016-06-03 15:54:32 +02:00
Konrad Malawski
f49708d8b7 +htp #20705 allows javadsl creating custom rejections 2016-06-03 14:57:12 +02:00
Johan Andrén
2643857e82 =doc Invalid FrameParser example fixed #20519 2016-06-03 14:24:31 +02:00
Stefano Bonetti
b84c6c5271 Adding docs for KillSwitch #20265 2016-06-03 14:23:11 +02:00