Commit graph

12466 commits

Author SHA1 Message Date
Viktor Klang
26f45a599b Making walker a def in remote 2011-10-31 16:09:52 +01:00
Viktor Klang
3e3cf86bdf Removing futures from the remoting 2011-10-31 16:09:52 +01:00
Viktor Klang
1b730b5c82 Removing Channel(s), tryTell etc, everything compiles but all tests are semibroken 2011-10-31 16:09:51 +01:00
Roland
c671600a8e fix up Slf4jEventHandler to handle InitializeLogger message 2011-10-30 12:02:11 +01:00
Roland
cccf6b4ed9 remove references to !! from docs (apart from camel internals) 2011-10-30 11:39:10 +01:00
Patrik Nordwall
bb51bfdc72 Added a simple performance test, without domain complexity 2011-10-30 10:31:52 +01:00
Patrik Nordwall
84da9726f2 Changed so that clients doesn't wait for each message to be processed before sending next 2011-10-30 10:31:52 +01:00
Roland
55f896226c some polishing of new Logging
- add scaladoc
- remove (empty) EventHandler.scala
- make BugLogging more of an implementation detail, i.e. use the
  Logging() factories to get a Logging implementation.
2011-10-29 19:10:58 +02:00
Derek Williams
a32ca5d70e Merge branch 'master' into wip-1313-derekjw 2011-10-28 11:54:33 -06:00
Roland
d1e0f411ef clean up application structure
- introduce common parent for guardian and systemGuardian
- install deathWatch chain to ensure proper shutdown upon guardian’s
  death
- re-install stdout logger before detaching default loggers
- await app termination after running AkkaSpec tests (max 5sec, with
  warning logged if not stopped)
2011-10-28 17:15:10 +02:00
Patrik Nordwall
38d2108b6c Add chart for comparing throughput to benchmark. Fixes #1318
* Sample: http://bit.ly/tskstz
2011-10-28 16:16:54 +02:00
Patrik Nordwall
7cde84b5db Fixed benchmark reporting, which was broken in AkkaApplication refactoring. Repo must be global to keep results 2011-10-28 16:12:51 +02:00
Jonas Bonér
9bf9cea0d9 Removed trailing whitespace 2011-10-28 15:55:47 +02:00
Jonas Bonér
e9dfaf7ed8 Fixed misc FIXMEs 2011-10-28 12:00:06 +02:00
Jonas Bonér
7b485f659b Added documentation page on guaranteed delivery.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-28 11:01:24 +02:00
Derek Williams
885fdfe2a8 Send tasks back to the Dispatcher if Future.await is called. Fixes #1313
* Future.redispatchTasks() is a public method that can be manually called if a deadlock
  might occur due to queued tasks being executed synchronously.
2011-10-27 20:04:32 -06:00
Jonas Bonér
fef4075b8a Added section about how to do a distributed dynamo-style datastorage on top of akka cluster 2011-10-27 17:06:57 +02:00
Jonas Bonér
ef4262f815 Merge branch 'master' of github.com:jboner/akka 2011-10-27 15:29:38 +02:00
Peter Vlugter
706692dacd Some more cluster documentation 2011-10-27 15:17:49 +02:00
Jonas Bonér
c1152a0b42 Fixed minor stuff in Gossiper after code review feedback.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-27 15:14:15 +02:00
Roland
01d8b00a76 first time Eclipse deceived me: fix three more import statements 2011-10-27 14:31:14 +02:00
Roland
897c7bde69 fix overlooked Gossiper change (from rebase) 2011-10-27 12:46:10 +02:00
Roland
f46c6dc533 introducing: MainBus feat. LoggingBus
most tests passing, everything compiling, but docs not updated and nasty
thread-leak preventing me from running the whole test-suite (which is
the reason for this commit: I want to chase down that one first).

- the app.mainbus is classified by Class[_] (currently lookup, will
  possibly change to sub-class-aware) and accepts AnyRef messages
- LoggingBus handles akka.event-handlers from config specially:
  + start them as system services, supervised by SystemGuardian
  + keep their subscriptions in sync when logLevel_= is called
  + send them InitializeLogger(bus) message before subscribing them (so
    they can register for extras like Mute/UnMute)
- two-phased start-up: first phase with actor-less stdout logging, then
  subscription of config loggers, then remove stdout logger (logLevels
  configurable separately)
- MainBusReaper watches registered receivers and unsubscribes them upon
  death (started in phase 2)
- logger factory on Logging object, needs app/bus and log source;
  default instance in app.log
2011-10-27 12:36:22 +02:00
Jonas Bonér
c8b17b9e92 reformatting 2011-10-27 09:51:34 +02:00
Jonas Bonér
09a219bcd1 Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-27 09:46:50 +02:00
Jonas Bonér
b9bf133c86 Removed all old failure detectors.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-27 09:32:10 +02:00
Viktor Klang
4bd9650581 Fixing memory size regression introduced by non-disclosed colleague ;-) 2011-10-26 19:27:50 +02:00
Jonas Bonér
cf404b0d70 Cleaned up new cluster specification.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 14:44:55 +02:00
Peter Vlugter
b2f84ad65d Rename new cluster docs from 'new' to 'cluster' 2011-10-26 14:43:28 +02:00
Peter Vlugter
709f6d5415 Some more updates to the new cluster documentation
Added more info about the push-pull gossip protocol
2011-10-26 14:41:12 +02:00
Jonas Bonér
70f2bec38c Merge pull request #99 from amir343/master
Some formatting changes in STM doc page
2011-10-26 05:29:53 -07:00
Jonas Bonér
b288828eff Turned pendingChanges in Gossip into an Option[Vector].
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 14:24:32 +02:00
Jonas Bonér
6ed5bff20a Improved ScalaDoc.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 14:23:45 +02:00
Amir Moulavi
037dcfa024 Conversion of class names into literal blocks 2011-10-26 14:22:16 +02:00
Roland
3b62873e2c fix CallingThreadDispatcher’s assumption of mailbox type
- usually it’s a CallingThreadMailbox, but
- it is swapped out for deadLetter upon stop()
- so use Option[CallingThreadMailbox]
2011-10-26 14:20:02 +02:00
Amir Moulavi
b5a4018813 Formatting of TransactionFactory settings is changed to be compatible with Configuration section 2011-10-26 13:58:07 +02:00
Jonas Bonér
a25452126d Added 'Intro' section to new cluster specification/docs. Also minor other edits.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 13:55:22 +02:00
Jonas Bonér
ba365f8658 Merge branch 'master' of github.com:jboner/akka 2011-10-26 13:37:51 +02:00
Jonas Bonér
12554cd50f Added some sections to new clustering specification and also did various reformatting, restructuring and improvements.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 12:23:19 +02:00
Peter Vlugter
a8c7bd5a23 Defer a latch count down in transactor spec 2011-10-26 11:18:29 +02:00
Jonas Bonér
a857078907 Renamed RemoteDaemon.scala to Remote.scala.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 08:58:20 +02:00
Jonas Bonér
80282d1f1d Initial version of gossip based cluster membership.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 08:48:16 +02:00
Jonas Bonér
258279748a Merge pull request #98 from amir343/master
Some formatting correction in TypedActors doc page
2011-10-25 07:31:49 -07:00
Peter Vlugter
80250cd884 Some docs for new clustering 2011-10-25 16:28:12 +02:00
Roland
173ef048ce add dispatcher.shutdown() at app stop and make core pool size smaller to let the tests run 2011-10-25 15:08:44 +02:00
Roland
6bcdba40c0 fix InterruptedException handling in CallingThreadDispatcher
instead of just re-setting the flag upon swallowed exception, clear the
flag when fully done and re-throw last swallowed IE.
2011-10-25 15:07:20 +02:00
Amir Moulavi
ef0491f6de Class names and types in the text are converted into literal blocks 2011-10-25 13:34:28 +02:00
Amir Moulavi
314c9fc1d4 broken bullet list is corrected 2011-10-25 13:09:54 +02:00
Amir Moulavi
dd1d71267b broken bullet list is corrected 2011-10-25 13:07:52 +02:00
Roland
c059d1bc11 Merge branch 'parental-supervision'
commented out one failing test in LoggingReceiveSpec (known, to be fixed
soon by implementing MainBusLogging)
2011-10-25 12:24:39 +02:00