Mathias
d618aeb7ea
Decrease memory footprint of PromiseActorRef by ca. 30% (two ref fields)
2012-03-27 09:28:54 +02:00
Mathias
791ec0f611
Another round of improvements to PromiseActorRef
2012-03-24 23:27:01 +01:00
Mathias
8fc66ce044
Improve PromiseActorRef as per team comments
2012-03-23 21:35:52 +01:00
Mathias
cb7271f974
Make provider registration of PromiseActorRefs lazy
...
By only registering a PromiseActorRef on access to `path`
we can shave off about 30% of the overhead involved in the common,
purely local `ask` use case.
Unfortunately `path` is accessed not only for ActorRef serialization
but also during `toString`, `equals` and `hashCode`, so one should
be careful how to handle PromiseActorRefs in hot paths.
2012-03-23 16:50:39 +01:00
Mathias
e909757fc5
Fix PromiseActorRef bang potentially throwing IllegalStateException
...
The previous implementation contained a race condition potentially violating the "bang never throws exception" contract
2012-03-23 16:50:39 +01:00
Mathias
69aed6a384
Small optimization in FiniteDuration.equals
2012-03-23 16:50:39 +01:00
Jonas Bonér
d18fc7b7ce
Removed obsolete FIXME.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-23 12:08:37 +01:00
Jonas Bonér
7c03f8df6c
Renamed 'Node' to 'Cluster'.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-22 23:04:04 +01:00
Jonas Bonér
f7ca01a26b
Merge branch 'master' of github.com:akka/akka
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-22 17:10:43 +01:00
Jonas Bonér
576bc38ade
Added spec for testing various ways of connecting two clusters into one single cluster.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-22 16:23:36 +01:00
Jonas Bonér
b0279f071a
Cleaned up cluster membership tests.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-22 16:22:28 +01:00
Raymond Roestenburg
019357eae5
Merge pull request #344 from akka/wip-camel
...
Rebased and squashed all changes to akka camel so far from Piotr and Ray
2012-03-21 13:41:41 -07:00
Björn Antonsson
b922fa0b06
Multi-JVM Stop actors before we shut down nodes to avoid warning messages.
2012-03-20 15:25:29 +01:00
Peter Vlugter
3223a94d2c
Only build the akka sbt plugin against scala 2.9.1
2012-03-19 13:10:11 +13:00
RayRoestenburg
f74616f828
Processed review wip-camel pull request 344
2012-03-17 21:23:06 +01:00
Piotr Gabryanczyk
4d6511c5c6
Rebased and squashed all changes to akka camel so far from Piotr and Ray
2012-03-17 09:19:57 +01:00
Viktor Klang
43febd0b65
Making sure that we only publish the truth about watch/unwatch
2012-03-16 16:54:00 +01:00
Viktor Klang
a7e8c622a7
#1902 - Adding docs in Serialization Java/Scala for deep serialization using EventSourcing
2012-03-16 15:57:49 +01:00
Viktor Klang
8994a14725
#1906 - Clarified the development process
2012-03-16 15:29:41 +01:00
Viktor Klang
df48070239
merge in docs change wrt ScalaDoc links
2012-03-16 13:58:33 +01:00
Viktor Klang
9cee78bc54
#1904 - Clearing up performance aspects of using ask
2012-03-16 13:53:32 +01:00
Jonas Bonér
80da7b5e36
Muted exceptions sent to the TestEventListener in the ClusterSpec.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-16 00:17:43 +01:00
Jonas Bonér
1ae2c68d2f
Added config options for run frequency of the different periodic node tasks.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-15 23:00:20 +01:00
Jonas Bonér
50d11593c9
Added 'ClusterSpec' abstract class with 'awaitConvergence' method to get rid of most 'Thread.sleep()' calls. Updated all cluster specs. Now works more reliable.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-15 21:25:55 +01:00
Viktor Klang
807843591c
Removing superceded comment
2012-03-15 14:48:57 +01:00
Viktor Klang
fc3d0c0715
Removing dead code
2012-03-15 11:37:01 +01:00
Jonas Bonér
fdb9743dc6
Merge branch 'wip-cluster-membership-jboner'
2012-03-14 15:31:41 +01:00
Jonas Bonér
f5da25fab4
fixed misspelling
2012-03-14 14:09:09 +01:00
Viktor Klang
a63e9f604b
#1894 - Switching to jsr166y.ThreadLocalRandom
2012-03-14 13:05:57 +01:00
Viktor Klang
c752f86ae3
Merge branch 'master' into wip-1903-fix-smallest-mailbox-√
2012-03-14 13:01:38 +01:00
Viktor Klang
a10ed3c157
Adding some more docs to the SmallestMailboxFirstRouter
2012-03-14 12:52:15 +01:00
Viktor Klang
ae7d31ae17
Introducing so that suspended actorrefs are just better than the dlq
2012-03-14 12:46:22 +01:00
Viktor Klang
59735ad61f
Additional simplifications to smallestmailboxrouter
2012-03-14 12:27:28 +01:00
Viktor Klang
37c3648b15
Collapsing some logic
2012-03-14 12:18:28 +01:00
Viktor Klang
b7564d06ce
Making sure that the code works....
2012-03-14 12:00:47 +01:00
Viktor Klang
1415617dee
New implementation of smallest mailbox router
2012-03-14 10:42:18 +01:00
viktorklang
495b8de024
Merge pull request #369 from havocp/async-callback-doc
...
Add a warning to Future methods that take an async callback.
2012-03-13 09:26:50 -07:00
Roland
2d93c058a7
Merge branch 'wip-1900-remove-deps-∂π'
2012-03-13 14:01:18 +01:00
Peter Vlugter
0837f722f8
Update release script to use repo.akka.io
2012-03-13 21:01:33 +13:00
Roland
bd3583d043
remove sjson and h2Lzf dependencies, see #1900
...
- both were only referenced from otherwise unreferenced objects in
akka-remote/akka.serialization
- had to add commonsIo dependency to file and zookeeper mailboxes, which
got this transitively before
2012-03-12 20:48:24 +01:00
Jonas Bonér
cf3fa9fa3c
Moved FIXMEs into tickets. Hardened convergence.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-12 19:22:02 +01:00
Roland
d1630e5f49
link to letitcrash post from typed-actors.rst
2012-03-11 11:27:52 +01:00
Peter Vlugter
d8b5181758
Update ls.implicit.ly sbt settings
2012-03-10 10:30:38 +13:00
Peter Vlugter
f6564f20f4
Update ls.implicit.ly info for 2.0
2012-03-10 09:54:28 +13:00
Jonas Bonér
dc80315b31
merge with master
2012-03-09 20:02:43 +01:00
Jonas Bonér
fbce64cb76
minor edit
2012-03-09 16:51:30 +01:00
Jonas Bonér
81b68e2fc0
Added DOWNING (user downing and auto-downing) and LEADER actions.
...
* Added possibility for user to 'down' a node
* Added possibility for the leader to 'auto-down' a node.
* Added leader role actions
- Moving nodes from JOINING -> UP
- Moving nodes from EXITING -> REMOVED
- AUTO-DOWNING
* Added tests for user and leader downing
* Added 'auto-down' option to turn auto-downing on and off
* Fixed bug in semantic Member Ordering
* Removed FSM stuff from ClusterCommandDaemon (including the test) since the node status should only be in the converged gossip state
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-09 12:57:17 +01:00
Roland
cb3bcf113f
add section on when to use typed actors
2012-03-09 09:13:00 +01:00
Viktor Klang
77a4b93299
Merge branch 'master' of github.com:akka/akka
2012-03-09 00:37:30 +01:00
Viktor Klang
158b38af85
Removing lie in docs
2012-03-09 00:37:27 +01:00