Commit graph

19329 commits

Author SHA1 Message Date
Patrik Nordwall
ea231b1cbc test support for blackhole in Artery, #20589 2016-06-07 15:47:12 +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
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
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
Patrik Nordwall
3465a221f0 format with new Scalariform version
* and fix mima issue
2016-06-03 12:56:49 +02:00
Patrik Nordwall
839ec5f167 Merge branch 'master' into wip-sync-artery-patriknw 2016-06-03 11:09:17 +02:00
Daniel Moran
5afb68cd59 -str #20288 Remove obsolete RestartTestStage (#20692) 2016-06-03 10:32:24 +02:00
Patrik Nordwall
c15e04e051 Merge pull request #20700 from akka/wip-20639-restarting-node2-patriknw
test for restarting node, #20639
2016-06-03 09:27:15 +02:00
Patrik Nordwall
4acc1cca6a Merge pull request #20681 from bantonsson/wip-ban-update-scalariform
Update to a working version of Scalariform
2016-06-03 07:20:34 +02:00
gosubpl
54c99d8184 =htp #20648 encoder now encodes all response types, not only successes (#20691)
* #20648 encoder now encodes all response types, not only successes

* #20648 fix by autoformatter
2016-06-02 22:39:20 +02:00
Björn Antonsson
c66ce62d63 Update to a working version of Scalariform 2016-06-02 22:12:36 +02:00
Patrik Nordwall
3a4fd52165 Merge pull request #20646 from akka/wip-artery-sample-bug-patriknw
detect wrong Artery protocol
2016-06-02 19:59:51 +02:00
Patrik Nordwall
60111c4886 detect wrong protocol
* used wrong protocol by mistake and got weird errors
  and it was not obvious that the reason was wrong protocol,
  e.g. it created association to itself
* and also set the cachedAssociation
2016-06-02 17:50:44 +02:00
Patrik Nordwall
3afda7fea0 Merge pull request #20694 from akka/wip-port-multi-node-patriknw
port of some remote multi-node tests
2016-06-02 17:44:07 +02:00
Patrik Nordwall
884760badd Merge pull request #20701 from akka/wip-cleaner-patriknw
tryCleanDirectByteBuffer in Artery BufferPool
2016-06-02 17:43:11 +02:00
Patrik Nordwall
cae070bd93 Merge pull request #20616 from akka/wip-17194-DirectByteBuffer-cleaner-patriknw
Attempt cleaning of DirectByteBuffer, #17194
2016-06-02 17:42:10 +02:00
Patrik Nordwall
c1f36d8a43 Merge pull request #20594 from akka/wip-20531-patriknw
gating should not overwrite quarantine, #20531
2016-06-02 17:41:12 +02:00
Konstantin Fedorov
f9922398a7 +htp #19929 NameReceptacle[T].as[B] take Unmarshaller[T, B] instead of FromStringUnmarshaller 2016-06-02 15:27:18 +02:00
Patrik Nordwall
03eaacdbbb Merge pull request #20680 from akka/wip-ByteString.empty-patriknw
use ByteString.empty
2016-06-02 14:37:03 +02:00
Patrik Nordwall
70a72d58bf adjust sample for Artery 2016-06-02 13:56:19 +02:00
Patrik Nordwall
37af15b050 tryCleanDirectByteBuffer in Artery BufferPool 2016-06-02 13:32:08 +02:00
Patrik Nordwall
e90c9b385b Attempt cleaning of DirectByteBuffer, #17194 2016-06-02 13:23:06 +02:00
drewhk
80adee687a Merge pull request #20671 from drewhk/wip-20627-streamlayout-test-timeout-drewhk
#20627: Increase LayoutSpec stresstest patience
2016-06-02 13:21:16 +02:00
Endre Sándor Varga
38c7627ddc #20627: Increase LayoutSpec stresstest patience 2016-06-02 13:20:35 +02:00
Patrik Nordwall
48212778a5 keep the refuseUid along association state transitions, #20531
* keep the refuseUid (old quarantined) when transitioning
  Pass -> Gated -> Pass
* introduced new state WasGated to keep track of the refuseUid
2016-06-02 13:17:31 +02:00
Patrik Nordwall
abb9a1fd9b gating should not overwrite quarantine, #20531
* Reproduced with cluster sample.
  * auto-down=45s
  * node1 and node2 joins
  * suspend node2 (kill -STOP)
  * node1 removes and quarantines node2
  * resume node2 (kill -CONT)
  * node2 receives heartbeat response from node1, which
    is not expected since node2 is supposed to be quarantined
  * the reason is that the quarantine is overwritten by gating
2016-06-02 13:17:31 +02:00
Konrad Malawski
b9ce2c94f6 =htc #20214 disabling SNI per-connection now works (passing though sslconfig) (#20621) 2016-06-02 13:13:11 +02:00
Patrik Nordwall
91c8e90f82 test for restarting node, #20639 2016-06-02 12:52:55 +02:00
Patryk Jażdżewski
c75504c3b6 doc #20622 Document the Raw URI option in reference docs (#20682)
* #20622: add a paragraph to HTTP Model doc explaining raw-request-uri-header flag

* raw-request-uri-header flag - better description in docs

* fix typo: it's -> its

* fix typo: requests -> request's
2016-06-02 12:25:05 +02:00
tjugo
0eda4075ef +htp #20535 add checkSameOrigin directive to HeaderDirectives (#20560)
*  #20535 add checkSameOrigin directive to WebSocketDirectives

* refactoring + add docs

* refactoring + cleanup in docs

* fix types and conversions in the InvalidOriginHeaderRejection

* simplify InvalidOriginHeaderRejection to InvalidOriginRejection
2016-06-02 11:58:20 +02:00
Patrik Nordwall
8ba36be6c4 =str #20676 harden OutputStreamSourceSpec, #20676 (#20693) 2016-06-02 11:41:34 +02:00
2beaucoup
02904212bd replace thin spaces with regular spaces (to make diagrams look good) (#20696) 2016-06-02 11:38:34 +02:00
Jakub Kozłowski
609fb0ec03 =http #20687 remove dead code and unused import from Unmarshaller (#20688) 2016-06-02 10:57:09 +02:00
Patrik Nordwall
aab46199fd port of some remote multi-node tests 2016-06-02 08:41:11 +02:00
gosubpl
b9b1bf1749 doc #20672 pulling pattern link broken (#20686)
* trailing slash removed from link

* broken link to akka-work-pulling-pattern also fixed in faq
2016-06-01 22:28:09 +02:00
Jan Ypma
0a9283b8da htp #20685 HttpEntity should not care about the materialized type of its Source (#20684) 2016-06-01 16:56:48 +02:00
Patrik Nordwall
184e45e6b2 use ByteString.empty
* and a few other cleanups
2016-06-01 15:01:02 +02:00
Patrik Nordwall
7e1697b6cc Merge pull request #20654 from akka/wip-artery-dispatcher-patriknw
configuration of Artery materializer and dispatcher
2016-06-01 13:40:23 +02:00
John Zhang
b95b60a6a5 +doc #20466 add header directive examples (Java) (#20673) 2016-06-01 13:26:45 +02:00
Patrik Nordwall
e3afe6107d configuration of Artery materializer and dispatcher
* also increased the parallelism-max to 4 for default-remote-dispatcher
2016-06-01 11:59:13 +02:00
Patrik Nordwall
8fb7727526 make it possible to use external Aeron media driver, #20588 (#20653)
* make it possible to use external Aeron media driver, #20588

* on my machine the MaxThroughputSpec maxed out all 8 cores completely,
  and when using external media driver it is much better and easier to
  find the actual bottlenecks

* aeron.properties for external media driver
2016-06-01 11:56:18 +02:00
Patrik Nordwall
fc6a335610 improve performance of literal encoding (#20655)
* improve performance of literal encoding

* use char array instead of getBytes
* JMH benchmark

* use Unsafe to get the char array
2016-06-01 11:55:25 +02:00
Konrad Malawski
fe47d596bc +doc add java example for onCompleteWithBreaker (#20675)
* +doc #20198 add java example for onCompleteWithBreaker

* =doc fix sphinx warnings
2016-06-01 10:31:50 +02:00
Stefano Bonetti
3f8dacfd44 +htp #20198 onCompleteWithBreaker directive (#20402) 2016-05-31 21:48:19 +02:00
Patrik Nordwall
f07041091f Merge pull request #20660 from akka/wip-20659-leaking-tests-patriknw
fix memory leaks in tests, #20659
2016-05-31 19:34:55 +02:00
Patrik Nordwall
b97a72c773 use blocking-io-dispatcher correctly in OutputStreamSource, #20666
* it used the materializer dispatcher for the blocking take
* it was leaking threads (blocking threads) when when materializer was shutdown abruptly
2016-05-31 19:34:00 +02:00