Commit graph

20524 commits

Author SHA1 Message Date
Konrad Malawski
06708f8f57 Merge pull request #18907 from johanandren/wip-18635-migration-guide-terminate-johanandren
=doc #18635 Added section about `ActorSystem.shutdown` being deprecated
2015-11-11 16:30:17 +01:00
Konrad Malawski
7161b67a39 Merge pull request #18911 from ktoso/wip-rebased-18805-ktoso
[rebased] =cls #18762 fix graceful shutdown of empty region
2015-11-11 16:16:25 +01:00
Patrik Nordwall
7b22aa499d =act #18613 Optimize RepointableActorRef for sys msg
* Before the cell is started the RepointableActorRef queue the messages
  (both system and non-system messages) into a queue. System messages
  are inserted right before the last non-system message by iterating
  the queue, i.e. becomes slow when there are many system messages already
  enqueued.
* This is a problem for pools with many routees.
* The fix is to keep system messages in a separate queue

JMH benchmark before:

    [info] Benchmark                                 (size)  Mode  Cnt       Score      Error  Units
    [info] RouterPoolCreationBenchmark.testCreation    1000    ss  300   13204.048 ± 3081.576  us/op
    [info] RouterPoolCreationBenchmark.testCreation    2000    ss  300   41939.524 ± 6178.087  us/op
    [info] RouterPoolCreationBenchmark.testCreation    3000    ss  300   70752.881 ± 4344.992  us/op
    [info] RouterPoolCreationBenchmark.testCreation    4000    ss  300  120620.885 ± 3296.342  us/op

JMH benchmark after:

    [info] Benchmark                                 (size)  Mode  Cnt      Score      Error  Units
    [info] RouterPoolCreationBenchmark.testCreation    1000    ss  300   7738.721 ± 1806.297  us/op
    [info] RouterPoolCreationBenchmark.testCreation    2000    ss  300  15497.588 ± 4532.852  us/op
    [info] RouterPoolCreationBenchmark.testCreation    3000    ss  300  28704.005 ± 6322.458  us/op
    [info] RouterPoolCreationBenchmark.testCreation    4000    ss  300  37783.516 ± 6778.437  us/op

fully drain sysmsgQueue when swap cell
2015-11-11 15:46:01 +01:00
Konrad Malawski
19594c6b94 Merge pull request #18909 from kukido/kukido-javadoc-fixes
=doc Fixes for genjavadoc
2015-11-11 14:09:08 +01:00
Johan Andrén
ea22eca7fd =act #18607 Test failing on timeout not happening
Changed the future to never complete to be sure there is no racing
2015-11-11 12:35:31 +01:00
drewhk
4e127e6206 Merge pull request #18903 from 2beaucoup/multipart-boundary-with-spaces
Accept multipart boundary parameters with internal spaces
2015-11-11 12:19:09 +01:00
drewhk
89bc6d544f Merge pull request #18848 from drewhk/wip-17924-make-intellij-import-work-drewhk
=str #17924: Make IntelliJ IDEA sbt import work again
2015-11-11 12:05:22 +01:00
Krzysztof Bochenek
5c418efef2 =cls #18762 fix graceful shutdown of empty region 2015-11-11 11:58:43 +01:00
drewhk
a130901379 Merge pull request #18871 from agolubev/agolubev-#18870-Refactoring_OutputStreamSource_InutStreamSink
=str #18870 optimizations of InputStreamSink, OutpuSreamSource
2015-11-11 11:38:41 +01:00
drewhk
712233f725 Merge pull request #18810 from swachter/master
consider akka.test.timefactor when using akka.test.filter-leeway
2015-11-11 11:36:57 +01:00
drewhk
48282fc753 Merge pull request #18729 from hseeberger/hseeberger-18575-publish-member-joined
Publish MemberJoined
2015-11-11 11:23:04 +01:00
drewhk
99afc13872 Merge pull request #18702 from 2m/wip-async-stages-are-here
=doc remove misleading statement on async custom stages
2015-11-11 11:21:27 +01:00
drewhk
11bf8a67d0 Merge pull request #18543 from johanandren/wip-17695-api-for-sharding-state-retrieval-johanandren
+clu #17695 add a way to inspect the current sharding state
2015-11-11 11:19:50 +01:00
drewhk
c56d4396df Merge pull request #18904 from drewhk/wip-18798-interpreter-fuzzing
+str #18798: Fuzzing mode for the interpreter
2015-11-11 09:33:28 +01:00
kukido
3cc3666724 =doc Fixes for genjavadoc 2015-11-11 00:29:44 -08:00
Alexander Golubev
27851d656c =str #18870 Refactoring and optimizations of InputStreamSink, OutputSreamSource 2015-11-10 11:13:21 -05:00
Johan Andrén
4f267d5931 =doc #18635 Added section about ActorSystem.shutdown being deprecated 2015-11-10 16:46:34 +01:00
2beaucoup
0b16046a34 =htp #18881 accept multipart boundary parameters with internal spaces 2015-11-10 16:13:43 +01:00
Endre Sándor Varga
c4417a8c39 +str #18798: Fuzzing mode for the interpreter
*PHEAR ME*
2015-11-10 15:59:03 +01:00
Konrad Malawski
985e3b1c2f =str #18902 in tests (due to grouped+Sink.head) empty response stream would throw 2015-11-10 13:52:33 +01:00
Konrad Malawski
42ff7d7a59 Merge pull request #18854 from ktoso/mwip-more-idleTimeout-client-tests-ktoso
=str #17732 covered all client APIs to check if idle timeouts work
2015-11-10 10:55:48 +01:00
Konrad Malawski
581829b9b2 Merge pull request #18755 from akka/wip-16522-optimize-stash-config-patriknw
=act #16522 Optimize Stash creation
2015-11-09 18:06:17 +01:00
Konrad Malawski
bdafae9d48 Merge pull request #18897 from 2beaucoup/omit-parser-stacktrace
Don't print parsing exception stackstraces to the console
2015-11-09 16:52:34 +01:00
2beaucoup
bfa57dde43 =htp #18825 don't print parsing exception stackstraces to the console 2015-11-09 16:47:25 +01:00
Konrad Malawski
18b3030328 Merge pull request #18896 from johanandren/wip-18878-doc-missing-tilde-johanandren
=doc #18878 Document gotcha about missing tilde
2015-11-09 16:25:12 +01:00
Johan Andrén
c6500aec7f =doc 18878 Document gotcha about missing tilde 2015-11-09 16:21:04 +01:00
Konrad Malawski
6a22cdebfc Merge pull request #18889 from 2beaucoup/patch-1
fix includecode
2015-11-09 11:03:42 +01:00
2beaucoup
7a1857d849 fix includecode 2015-11-09 10:46:57 +01:00
Konrad Malawski
88596fc778 Merge pull request #18877 from ktoso/wip-body-parser-ordering-ktoso
=str #16927 preserve header order in body parts
2015-11-07 20:17:40 +01:00
Konrad Malawski
f908a6a9dc =str #16927 preserve header order in body parts 2015-11-07 20:11:41 +01:00
Roland Kuhn
f1abaa1c5e Merge pull request #18875 from ktoso/wip-akka.js-cherries-ktoso
Akka.js cherries to master
2015-11-07 18:01:24 +01:00
Roland Kuhn
61c257b2fe Merge pull request #18776 from henrymai/master
Add TransparentExponentialBackoffSupervisor
2015-11-07 17:56:02 +01:00
Roland Kuhn
11e99318ff Merge pull request #18873 from akka/wip-improve-GraphInterpreter.currentInterpreter-RK
=str small improvement in GraphInterpreter.currentInterpreter
2015-11-07 15:05:31 +01:00
Roland Kuhn
f85ffb575c =str small improvement in GraphInterpreter.currentInterpreter 2015-11-07 15:05:11 +01:00
Patrik Nordwall
1e36e5e187 Merge pull request #18746 from akka/wip-18554-singleton-startup-patriknw
=clu #18554 Make oldest assignment deterministic when joining
2015-11-06 14:48:57 +01:00
Patrik Nordwall
c7c187f6b7 =clu replace Set -- with diff and ++ with union
* better performance according to
  https://docs.google.com/presentation/d/1Qjryxoe-fYEM8ZPhM-98LKfbhnRcn5eAEMNlVVnixsA/pub
2015-11-06 14:48:17 +01:00
Andrea
cd3d68a77c =act switch to java std lib ThreadLocalRandom 2015-11-06 14:04:33 +01:00
Andrea
0511b07f3e =act split Props java api implementation in separate files. 2015-11-06 14:04:27 +01:00
Andrea
74ce3bfb1f =act Scheduler implementation separated from interface. 2015-11-06 14:04:11 +01:00
Andrea
3df34bc21d =act split ReflectiveDynamicAccess implementation in separate file. 2015-11-06 14:01:09 +01:00
Andrea
c3f862d724 =act split FSM java api in a separate file. 2015-11-06 13:55:38 +01:00
Patrik Nordwall
b6ec6009c7 Merge pull request #18769 from akka/wip-ddata-perf-many-nodes-patriknw
=cdd #18768 Cache serialization of read and write msg
2015-11-06 13:37:56 +01:00
Patrik Nordwall
1b1ef752fe =act #16522 Optimize Stash creation
* cache the stash capacity config value

BEFORE

    [info] Result "testCustom":
    [info]   27.607 ±(99.9%) 7.924 us/op [Average]
    [info]   (min, avg, max) = (16.928, 27.607, 760217.600), stdev = 1369.808
    [info]   CI (99.9%): [19.682, 35.531] (assumes normal distribution)
    [info]   Samples, N = 323534
    [info]         mean =     27.607 ±(99.9%) 7.924 us/op
    [info]          min =     16.928 us/op
    [info]   p( 0.0000) =     16.928 us/op
    [info]   p(50.0000) =     21.824 us/op
    [info]   p(90.0000) =     31.680 us/op
    [info]   p(95.0000) =     38.592 us/op
    [info]   p(99.0000) =     57.920 us/op
    [info]   p(99.9000) =    102.144 us/op
    [info]   p(99.9900) =    371.471 us/op
    [info]   p(99.9990) =  85461.364 us/op
    [info]   p(99.9999) = 760217.600 us/op
    [info]          max = 760217.600 us/op

    [info] Result "testDefault":
    [info]   26.465 ±(99.9%) 15.980 us/op [Average]
    [info]   (min, avg, max) = (14.608, 26.465, 1461714.944), stdev = 2900.094
    [info]   CI (99.9%): [10.485, 42.444] (assumes normal distribution)
    [info]   Samples, N = 356626
    [info]         mean =     26.465 ±(99.9%) 15.980 us/op
    [info]          min =     14.608 us/op
    [info]   p( 0.0000) =     14.608 us/op
    [info]   p(50.0000) =     18.304 us/op
    [info]   p(90.0000) =     22.816 us/op
    [info]   p(95.0000) =     26.976 us/op
    [info]   p(99.0000) =     41.647 us/op
    [info]   p(99.9000) =     71.808 us/op
    [info]   p(99.9900) =    139.696 us/op
    [info]   p(99.9990) =  33048.112 us/op
    [info]   p(99.9999) = 1461714.944 us/op
    [info]          max = 1461714.944 us/op

    [info] Benchmark                             Mode     Cnt   Score    Error  Units
    [info] StashCreationBenchmark.testCustom   sample  323534  27.607 ±  7.924  us/op
    [info] StashCreationBenchmark.testDefault  sample  356626  26.465 ± 15.980  us/op

AFTER:

    [info] Result "testCustom":
    [info]   22.710 ±(99.9%) 1.384 us/op [Average]
    [info]   (min, avg, max) = (15.168, 22.710, 110886.912), stdev = 233.744
    [info]   CI (99.9%): [21.326, 24.094] (assumes normal distribution)
    [info]   Samples, N = 308896
    [info]         mean =     22.710 ±(99.9%) 1.384 us/op
    [info]          min =     15.168 us/op
    [info]   p( 0.0000) =     15.168 us/op
    [info]   p(50.0000) =     19.776 us/op
    [info]   p(90.0000) =     28.608 us/op
    [info]   p(95.0000) =     33.344 us/op
    [info]   p(99.0000) =     49.216 us/op
    [info]   p(99.9000) =     90.253 us/op
    [info]   p(99.9900) =    594.334 us/op
    [info]   p(99.9990) =   8350.329 us/op
    [info]   p(99.9999) = 110886.912 us/op
    [info]          max = 110886.912 us/op

    [info] Result "testDefault":
    [info]   19.099 ±(99.9%) 0.424 us/op [Average]
    [info]   (min, avg, max) = (13.120, 19.099, 45940.736), stdev = 77.524
    [info]   CI (99.9%): [18.675, 19.523] (assumes normal distribution)
    [info]   Samples, N = 361741
    [info]         mean =     19.099 ±(99.9%) 0.424 us/op
    [info]          min =     13.120 us/op
    [info]   p( 0.0000) =     13.120 us/op
    [info]   p(50.0000) =     16.368 us/op
    [info]   p(90.0000) =     24.250 us/op
    [info]   p(95.0000) =     31.232 us/op
    [info]   p(99.0000) =     55.680 us/op
    [info]   p(99.9000) =    121.249 us/op
    [info]   p(99.9900) =    402.386 us/op
    [info]   p(99.9990) =   1767.264 us/op
    [info]   p(99.9999) =  45940.736 us/op
    [info]          max =  45940.736 us/op
    [info]
    [info]
    [info] # Run complete. Total time: 00:02:01
    [info]
    [info] Benchmark                             Mode     Cnt   Score   Error  Units
    [info] StashCreationBenchmark.testCustom   sample  308896  22.710 ± 1.384  us/op
    [info] StashCreationBenchmark.testDefault  sample  361741  19.099 ± 0.424  us/op
2015-11-06 13:34:29 +01:00
Konrad Malawski
e50a5ee6fc Merge pull request #18867 from ktoso/wip-docs-warnings-on-streams-ktoso
+doc show warning if browsing outdated docs
2015-11-05 22:16:42 +01:00
Konrad Malawski
99fcc6b191 +doc show warning if browsing outdated docs 2015-11-05 22:16:06 +01:00
drewhk
72906553ed Merge pull request #18861 from drewhk/wip-18817-GraphStage-Java-drewhk
=str #18817 add Java API for GraphStage In/OutHandler
2015-11-05 16:32:39 +01:00
Roland Kuhn
0990d735a0 =str #18817 add Java API for GraphStage In/OutHandler 2015-11-05 15:54:25 +01:00
Konrad Malawski
18a24c0e50 Merge pull request #18295 from ktoso/wip-docs-warn-about-updated-docs-ktoso
+doc show warning if browsing outdated docs
2015-11-05 15:21:46 +01:00
Konrad Malawski
d4dd75cb49 +doc #18295 add close button with 1day delay to reappear 2015-11-05 15:18:51 +01:00
Konrad Malawski
c527987cc3 +doc #18295 show warning if browsing outdated docs
+doc #18295 include versions.json updation during release
2015-11-05 13:21:24 +01:00