Commit graph

15280 commits

Author SHA1 Message Date
Patrik Nordwall
054e292563 Merge pull request #18944 from akka/wip-18487-BackofSupervisor-decider-patriknw
+act #18487 Support custom supervision strategy in BackoffSupervisor
2015-11-24 10:40:19 +01:00
Patrik Nordwall
9507fb926b Merge pull request #18960 from akka/wip-18722-sharding-ddata-init-patriknw
=cls #18722 fix DDataShardCoordinator init
2015-11-24 10:19:01 +01:00
drewhk
2bd88eab5c Merge pull request #18931 from lolski/lolski-issue-18913
moving PrettyDuration and PrettyDurationSpec to akka.util
2015-11-23 12:58:11 +01:00
Konrad Malawski
59e05b579e Merge pull request #18980 from andreaTP/indirectFix
=act removed reference to java.reflect.
2015-11-23 10:48:54 +01:00
Andrea
46273ca72f =act removed reference to java.reflect. 2015-11-21 10:29:26 -08:00
lolski
8819535250 +act #18913 moved PrettyDuration to akka-actor 2015-11-21 00:01:51 +08:00
Patrik Nordwall
27995af79f =cls #18722 fix DDataShardCoordinator init
* the become logic was wrong when watchStateActors triggers an immediate
  state update
2015-11-18 16:13:58 +01:00
Roland Kuhn
a7021827c3 Merge pull request #18243 from ataraxer/ataraxer-15819
+act #15819 Create ask() variant that can be used without sender(); Add PromiseRef as an alternative to ask pattern
2015-11-18 10:42:14 +01:00
Roland Kuhn
932e12b73e Merge pull request #18815 from visox/master
Add attachments in CamelMessage
2015-11-18 08:45:22 +01:00
Michal Lacko
9baf9bd33f +cam #11214 add attachments to CamelMessage
add support for attachments in CamelMessage, taken from JCamelMessage

add a extension class CamelMessageWithAttachments base on CamelMessage that contains attachments based on JCamelMessage

add newline CamelMessageTest

replace for-cycle attachment adding with one putAll

remove CamelMessageWithAttachments and update CamelMessage to contain attachments

fix the binary compatibility issues on CamelMessage

add documentation for new methods in CamelMessage, add return type for method withBody
2015-11-18 10:22:20 +13:00
Patrik Nordwall
3f3642337e +act #18487 Support custom supervision strategy in BackoffSupervisor
* and forward messages from child to parent
  (needed for sharding passivation)
2015-11-16 17:46:02 +01:00
drewhk
ef901becee Merge pull request #18920 from drewhk/wip-18353-fwd-drewhk
+rem #18353: Prune reliable deliver actors (fwd)
2015-11-16 11:32:51 +01:00
Konrad Malawski
f0b4dfaddb Merge pull request #18933 from Jaca777/jaca777-4761866
=pro Fix unmaintained scalariform github repo link.
2015-11-16 10:17:12 +01:00
Jaca777
ed61632bf5 =pro Fix unmaintained scalariform github repo link. 2015-11-14 19:12:45 +01:00
Konrad Malawski
246d779d85 Merge pull request #18932 from Jaca777/jaca777-4761866
=doc Fixed typo
2015-11-14 16:43:27 +01:00
Jaca777
3410e3a615 =doc Fixed typo 2015-11-14 14:41:18 +01:00
Endre Sándor Varga
c4e326c9dd +rem #18353: Prune reliable deliver actors
(cherry picked from commit 6643f56)
2015-11-13 10:15:31 +01:00
Konrad Malawski
b5379632b1 Merge pull request #18915 from kukido/kukido-18899-pr-follow-up
=doc #18899 code review follow-up, fixed typo
2015-11-13 09:24:31 +01:00
Anton Karamanov
0e31184c91 +act #15819 Add PromiseRef and FutureRef as an alternative to ask pattern 2015-11-13 01:25:28 +03:00
Anton Karamanov
254c478ebb +act #15819 Create ask() variant that can be used without sender() 2015-11-13 01:25:28 +03:00
drewhk
fc75eb361a Merge pull request #18754 from akka/wip-18613-optimize-repointable-patriknw
=act #18613 Optimize RepointableActorRef for only sys msg
2015-11-12 10:56:13 +01:00
drewhk
c0054ad662 Merge pull request #18912 from johanandren/wip-18607-no-timeout-ex-waiting-for-future-johanandren
=act #18607 Test failing on timeout not happening
2015-11-12 10:22:27 +01:00
kukido
7124b5dddf =doc #18899 code review follow-up, fixed typo 2015-11-11 09:26:00 -08:00
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
Krzysztof Bochenek
5c418efef2 =cls #18762 fix graceful shutdown of empty region 2015-11-11 11:58:43 +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
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
kukido
3cc3666724 =doc Fixes for genjavadoc 2015-11-11 00:29:44 -08:00
Johan Andrén
4f267d5931 =doc #18635 Added section about ActorSystem.shutdown being deprecated 2015-11-10 16:46:34 +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
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
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
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
Konrad Malawski
9f3a489c96 Merge pull request #18851 from 2m/wip-fix-link-ϕ-paper
=doc fix URL to "The ϕ Accrual Failure Detector" paper
2015-11-04 19:00:38 +01:00