Patrik Nordwall
ae11fb3b45
Merge pull request #21413 from akka/wip-21339-enable-misc-serial-patriknw
...
enable misc serializers by default for Artery, #21339
2016-09-09 14:29:02 +02:00
Patrik Nordwall
a5f693c2bc
Merge pull request #21412 from akka/wip-21397-MergeHub-log-patriknw
...
add recover in front of MergeHub, to avoid logging, #21397
2016-09-09 14:27:53 +02:00
Patrik Nordwall
e8ce261faf
Merge branch 'master' into wip-sync-2.4.10-patriknw
2016-09-09 14:12:16 +02:00
Richard Imaoka
0f2da7b26b
Add instruction for akka-samples ( Fixes #21415 ) ( #21416 )
2016-09-09 13:15:33 +02:00
Martynas Mickevičius
1ce7d7d7e9
#20946 Add bind address ( #21404 )
2016-09-09 12:46:50 +02:00
drewhk
e49b11607a
Merge pull request #21353 from drewhk/wip-21206-safer-afr-close-drewhk
...
#21206 : Improve AFR resilience to write-after-close
2016-09-09 10:20:16 +02:00
Patrik Nordwall
7b665f705e
try delayed retry resolve of remote deployed refs only once, #21403
...
* If the retried resolve isn't successful the ref is banned and
we will not do the delayed retry resolve again. The reason for that is
if many messages are sent to such dead refs the resolve process will slow
down other messages.
2016-09-09 10:15:12 +02:00
Patrik Nordwall
97e0628173
enable misc serializers by default for Artery, #21339
...
* placed them in a new section additional-serialization-bindings,
which is included by default when Artery is enabled
* can also be enabled with enable-additional-serialization-bindings
flag to simplify usage with old remoting
* added a JavaSerializable marker trait that is bound to JavaSerializer
in testkit, this can be used in tests so that we eventually can run
tests without the java.io.Serializable binding
2016-09-09 09:01:15 +02:00
Patrik Nordwall
494ccc00dc
add recover in front of MergeHub, to avoid logging, #21397
2016-09-08 19:34:18 +02:00
Patrik Nordwall
02de58392a
Merge pull request #21398 from akka/wip-fixme-patriknw
...
fix a bunch of FIXMEs in Artery
2016-09-08 19:15:43 +02:00
Patrik Nordwall
fea18a9a1b
mute expected exception in RemoteDeathWatchSpec
2016-09-08 18:00:37 +02:00
Patrik Nordwall
c74ece9573
require power of two
2016-09-08 18:00:37 +02:00
Patrik Nordwall
74a8bb3a00
flight recorder event for send queue overflow
2016-09-08 18:00:37 +02:00
Patrik Nordwall
3b7a7dfa59
add reason param to quarantine method
2016-09-08 18:00:37 +02:00
Patrik Nordwall
9a7d79c882
size of outboundEnvelopePool
2016-09-08 18:00:37 +02:00
Patrik Nordwall
8756ffd75c
handle Aeron Publication.CLOSED
2016-09-08 18:00:37 +02:00
Patrik Nordwall
3c779cebd4
config of send queues
2016-09-08 18:00:37 +02:00
Patrik Nordwall
ebd1883df5
remove or reword obsolete fixme
2016-09-08 18:00:37 +02:00
Johannes Rudolph
529b10a9f8
=rem #21202 a first set of protobuf serializations for artery messages ( #21380 )
2016-09-08 17:58:25 +02:00
Johan Andrén
b127f1fdcf
Rename protocol from "artery" to "akka" ( #21405 )
2016-09-08 16:12:29 +02:00
Endre Sándor Varga
8513ac9752
#21206 : Improve AFR resilience to write-after-close
2016-09-08 14:08:18 +02:00
drewhk
06681ae8b3
Merge pull request #21372 from drewhk/wip-21203-cached-actorref-lookup-drewhk
...
#21203 : Cache/memoize ActorRef resolution
2016-09-08 12:54:24 +02:00
Roland Kuhn
1b9186ba9d
Merge pull request #21128 from akka/wip-new-Typed-Impl-RK
...
New implementation for Akka Typed
2016-09-08 12:19:36 +02:00
Michał Płachta
b3bba1229f
Make map stage final and refactor OneBoundedSetup to take a decider. ( #21374 )
...
* Remove new from Map constructions
2016-09-08 11:47:17 +02:00
Endre Sándor Varga
11fceb4121
21203: Cache/memoize ActorRef resolution
2016-09-08 11:41:06 +02:00
Roland Kuhn
320271cc31
new implementation for Akka Typed #21131
...
This is the first step towards a completely new and optimized actor
implementation for Akka Typed. The full previously existing test suite
passes for both implementations. The following is an incomplete list of
things that remain to be done:
* document the semantic differences between untyped and typed, in
particular around actor restarts and the delivery ordering guarantees
for Terminated messages (also document the difference between
ActorSystemImpl and ActorSystemAdapter)
* implement EventStream and logging—this currently just delegates to an
extra untyped ActorSystem (of course To Be Fixed)
* implement dispatcher selection
* implement and test queue size limitation
* implement optimized message queue instead of CLQ (for zero-allocation
messaging)
* clean up test log output (something does not work with TestEventListener
and EventFilter for ActorSystemImpl tests)
* document the capabilities (or more appropriately: the limitations) of
interoperability between ActorSystemImpl and ActorSystemAdapter
* fix ActorPath UID generation (i.e. make sure that everything gets a
meaningful value instead of zero)
* re-evaluate throughput/rescheduling logic in ActorCell
Oh, and by the way: as per PerformanceSpec (doing simple ping-pong) the
new implementation is ca. 30% faster than the adapter over akka-actor
:-)
2016-09-08 10:10:35 +02:00
Johannes Rudolph
fc3761bc4b
Merge pull request #21384 from jrudolph/wip-21281-fix-authorization-param-rendering
...
=htc #21281 render empty params double quoted in headers like `Authorization`
2016-09-07 19:20:57 +02:00
gosubpl
7bcf0285a1
=htc #20793 make Marshaller.fromStatusCode emit empty entity for StatusCode with allowEntity=false
2016-09-07 19:12:42 +02:00
Johan Andrén
90193907fe
Make cluster tests run with artery #21204
2016-09-07 16:41:03 +02:00
Patrik Nordwall
6191f39565
Merge pull request #21382 from akka/wip-aeron-exceptions-patriknw
...
handle fatal Aeron exceptions, #20561
2016-09-07 13:08:59 +02:00
Patrik Nordwall
f4b82ce62b
handle fatal Aeron exceptions, #20561
...
* handle ConductorServiceTimeoutException and
DriverTimeoutException
* shutdown things properly, in the right order, and
without overwhelming the logs with exceptions
2016-09-07 12:15:35 +02:00
Patrik Nordwall
85be571af7
Merge pull request #21376 from akka/wip-21347-restart-patriknw
...
fix glitch in lazy restart, #21347
2016-09-07 11:15:51 +02:00
Patrik Nordwall
f1e4e7a657
Merge pull request #21383 from akka/wip-21381-killSwitch-patriknw
...
add missing killSwitch for parallel outbound lanes, #21381
2016-09-07 11:15:01 +02:00
Patrik Nordwall
72cf185686
Merge pull request #21390 from akka/wip-21388-shutdown-killSwitch-patriknw
...
abort streams on shutdown, #21388
2016-09-07 11:14:20 +02:00
Patrik Nordwall
b8b57df5e9
Merge pull request #21367 from akka/wip-21331-SystemMessageDeliverySpec-patriknw
...
fix failing SystemMessageDeliverySpec, #21331
2016-09-07 10:44:59 +02:00
Patrik Nordwall
9fd359042a
add missing killSwitch for parallel outbound lanes, #21381
...
* it caused the shutdown to stall, since the part after MergeHub
was never stopped
* tear down parts upstream and downstream of the hub toghether
2016-09-07 09:10:30 +02:00
Patrik Nordwall
edf1c83839
abort streams on shutdown, #21388
...
* otherwise AeronSink will continue sending outstanding messages
before completing
* this was noticed by RemoteDeathWatchSpec couldn't shutdown,
since it was trying to send to unknown
2016-09-07 08:27:33 +02:00
Johannes Rudolph
06a91f1d82
=htc #21281 render empty params double quoted in headers like Authorization
2016-09-06 20:10:39 +02:00
Patrik Nordwall
294947a9a2
fix glitch in lazy restart, #21347
2016-09-06 15:57:12 +02:00
Patrik Nordwall
f5f37fbc39
Merge pull request #21379 from richard-imaoka/wip-21060-doc-persistid-unique-richard-imaoka
...
Add a comment on persistenceId uniqueness
2016-09-06 12:32:57 +02:00
Bernard Leach
1c8c2595d2
=htc #19643 , #20570 , #21235 Refactor PoolSlot to GraphStage to address race conditions
...
This fixes various bugs that arose because of manual implementation of ActorPublisher and ActorSubscriber.
Fixes #19643 , #20570 , and #21235 .
2016-09-06 11:54:43 +02:00
Johan Andrén
9287a28702
Artery transport shutdown improvements ( #21357 )
...
* Make sure streams have stopped before shutting down aeron etc
* Log completion failures rather than failing shutdown
2016-09-06 11:50:10 +02:00
Richard S. Imaoka
e35c8b0d31
Comment on persistenceId uniqueness ( #21060 )
2016-09-06 14:20:48 +09:00
Patrik Nordwall
95328b2882
Merge pull request #21342 from akka/wip-compression-versions-patriknw
...
harden receive of messages using wrong compression table
2016-09-05 14:22:39 +02:00
Patrik Nordwall
e92088119e
Merge pull request #21356 from akka/wip-21347-lazy-restart-patriknw
...
make restart materialization of outbound streams lazy, #21347
2016-09-05 14:22:11 +02:00
Patrik Nordwall
b59f03fa34
fix failing SystemMessageDeliverySpec, #21331
2016-09-05 14:04:01 +02:00
Patrik Nordwall
32e852596f
harden receive of messages using wrong compression table
2016-09-05 13:29:08 +02:00
Patrik Nordwall
9d89810674
make restart materialization of outbound streams lazy, #21347
...
* Materialize on first message instead, otherwise handshake attempts
to non-existing nodes will continue forever
* also fix HandshakeFailureSpec
2016-09-05 13:27:18 +02:00
Patrik Nordwall
c504258356
Merge pull request #21328 from akka/wip-21207-parallel-lanes-patriknw
...
support for parallel lanes, #21207
2016-09-05 13:15:44 +02:00
Patrik Nordwall
432086b3f4
improve deadLetters and logging when send queue overflow ( #21355 )
2016-09-05 12:42:46 +02:00