Commit graph

13950 commits

Author SHA1 Message Date
Konrad 'ktoso' Malawski
293ecb09f9 =build #15103 Add Build start/finish events
These are visible on the grafana dashboard,
in order to be able to see on which commit
stats have been recorded.

It's enabled via: `-Dakka.sbt.graphite=true`

Resolves #15103
2014-05-07 10:23:21 +02:00
Martynas
14e8249deb Merge pull request #15018 from 2m/stamp-version-fix
FAILED: akka-publish-nightly job
2014-05-05 11:51:18 +02:00
Martynas Mickevicius
78187064cf =pro #15018 update to sbt 0.13.5-RC1 which has publish fix 2014-05-02 11:04:06 +02:00
Patrik Nordwall
c5803a315c Merge pull request #15096 from akka/wip-13966-become-discardOld-master-patriknw
=act #13966 Change wrong default discardOld in UntypedActor become (for validation)
2014-04-30 13:23:14 +02:00
Patrik Nordwall
2bf81a0e15 =act #13966 Change wrong default discardOld in UntypedActor become
(cherry picked from commit 2aada3b5a857552f9d7854a19cd72d77e6a52b9b)
2014-04-30 08:30:34 +02:00
Konrad Malawski
164050ad4c Merge pull request #15069 from ktoso/wip-better-stats-keys
=pro all non-words must be replaced with _ for statsd keys
2014-04-29 11:01:02 +02:00
Konrad 'ktoso' Malawski
69ffd006cf =pro all non-words must be replaced with _, for statsd keys 2014-04-29 11:00:11 +02:00
Konrad Malawski
269328b103 Merge pull request #15059 from 2m/sbt-unidoc-plugin
=pro #15031 use sbt-unidoc plugin
2014-04-28 11:02:04 +02:00
Martynas Mickevicius
7b35ded34e =pro #15031 use sbt-unidoc plugin 2014-04-28 10:12:46 +02:00
Konrad Malawski
d84d583585 Merge pull request #15060 from ktoso/wip-15021-measure-each-test-perf-ktoso
build #15021,#13755 Emit statsd events during build
2014-04-26 01:14:01 +02:00
Konrad Malawski
2d56fbe91c build #15021,#13755 Emit statsd events during build 2014-04-25 17:12:59 +02:00
Björn Antonsson
ef26c3d830 Merge pull request #15058 from akka/wip-update-scala-dependencies-for-samples-master-ban
=sam Update Scala dependencies to 2.10.4
2014-04-25 16:01:25 +02:00
Patrik Nordwall
74034e8180 Merge pull request #2116 from akka/wip-3960-EndpointWriter-stashing-master-patriknw
=rem #13960 #13989 #13742 #13985  Optimize EndpointWriter
2014-04-25 15:04:24 +02:00
Björn Antonsson
c8b3ec0f0e =sam Update Scala dependencies to 2.10.4 2014-04-25 13:23:56 +02:00
Konrad Malawski
403afada41 Merge pull request #15024 from ktoso/wip-removing-isTerminated-from-buses-ktoso
!act,doc Removing isTerminated from EventStream and ActorClassification
2014-04-25 10:16:53 +02:00
Björn Antonsson
4612d6d3f6 Merge pull request #15054 from akka/wip-13890-akka-java8-template-master-ban
(Forward Port) +sam #13890 Add Akka Main Activator template for Java 8
2014-04-25 08:58:50 +02:00
Konrad Malawski
c046cdff0a !act,doc #3893 Removed isTerminated checks from ActorClassification
Instead of isTerminated we now use death watch on subscribers.

! Breaking change - ActorClassification based event buses now require
  and actor system. Previously no actors were involved, but now someone
  has to `watch` the subscribers. The unsubscriber is an system actor,
  and won't be stopped automagically if a bus stops to be used (hard to
  determine what "stops being used" is)
* Replaced isTerminated checks with watching actors
* backing structure for ActorClassification swaped from
  ConcurrentHashMap to immutable.Map with CAS operations on it. This is
  required to avoid races and guarantee register/unregister ordering
  (messages sent with proper sequence numbers) to the unsubscriber.
  Performance tested it and still above 1.3million subscribe+unsubscribe
  ops per second (mac i7, retina), where as the CHM version was
  4 million - but that one could only work in the presence of
  itTerminated - so we pay the price here for removing it.
* `ActorClassification` starts the unsubscriber instance by itself,
  the unsubscriber is an system actor, and can be stopped via
  `ActorClassification#shutdown`
* Will unregister from unsubscriber, when no more subscriptions for
  given subscriber are left in this bus.
* Added missing "Java API: " for some types
* Updated docs to point out the automatic subscriber purging (on terminated)
2014-04-24 14:08:07 +02:00
Björn Antonsson
8b4b28c6f5 +sam #13890 Add Akka Main Activator template for Java 8 2014-04-24 14:04:43 +02:00
Patrik Nordwall
b48a97f9b4 Merge pull request #15049 from akka/wip-2.11-build-adjustments-master-patriknw
=pro #15045 Adjust build for Scala 2.11.0 (for validation)
2014-04-24 13:58:35 +02:00
Patrik Nordwall
a97de7db90 =rem #13960 #13989 #13742 #13985 Optimize EndpointWriter
* Replace stash with internal bufferi, j.u.LinkedList
* Replace FSM with become
* Adaptive backoff, important to backoff, but not for too long,
  depends on environment and use case
* Prioritize heartbeat messages from remote watcher and cluster
  failure detector
* Use payload messages as heartbeats for transport failure detector,
  change transport failure detector to be based on absolute timeout,
  see ticket #13989 and #13742
* Log remote disassociate from transport failure detector,
  see ticket #13985
* Add benchmark sample in akka-sample-remote-scala
2014-04-24 13:39:58 +02:00
Björn Antonsson
9857c0e74e Merge pull request #15051 from akka/wip-remove-unused-dependency-version-ban
=pro Remove unused dependency version
2014-04-24 13:16:29 +02:00
Björn Antonsson
29c2bfaf97 =pro Remove unused dependency version 2014-04-24 11:13:58 +02:00
Patrik Nordwall
09cdfde569 Merge pull request #15011 from csomogyi/master
Fixing minor issues I found while building Akka on Windows
2014-04-24 10:49:28 +02:00
Björn Antonsson
17ecaaa28c Merge pull request #15047 from akka/wip-update-test-dependencies-master-ban
=pro Update test dependencies to Scala 2.11 cross published versions
2014-04-24 09:55:20 +02:00
Patrik Nordwall
b267e8d882 =pro #15045 Adjust build for Scala 2.11.0
* Forward port of 2b891e7
2014-04-24 09:44:15 +02:00
Björn Antonsson
8de3faaa90 Merge pull request #15019 from akka/wip-update-sample-version-numbers-ban
=sam Update version numbers to 2.4-SNAPSHOT
2014-04-23 14:32:19 +02:00
Björn Antonsson
c8ea061472 =pro Update test dependencies to Scala 2.11 cross published versions 2014-04-23 13:58:38 +02:00
Konrad Malawski
44f499f434 Merge pull request #15008 from ktoso/3986-cluster-singleton-may-become-doubleton-during-splits-ktoso
=doc #3986 Slight updates in wording on cluster singleton docs
2014-04-22 17:14:25 +02:00
Konrad Malawski
549f1f9300 Merge pull request #15029 from kpfell/15028-akka-sample-cluster-scala-tutorial-fix
=sam #15028 Change reference from java file to scala file
2014-04-22 17:13:24 +02:00
Katherine Fellows
8ff317a79e =sam #15028 Change reference from java file to scala file 2014-04-19 17:42:08 -07:00
Konrad Malawski
83ae7c0e79 Merge pull request #15020 from sslavic/patch-1
=doc fixed a typo in remoting docs
2014-04-16 16:40:53 +02:00
Stevo Slavić
8736fb16f9 Fixed a typo 2014-04-16 16:15:15 +02:00
Björn Antonsson
613eec743e =sam Update version numbers to 2.4-SNAPSHOT 2014-04-16 15:00:10 +02:00
Konrad Malawski
f57470926e =act #3623 unsubscribe when actors terminate, instead of isTerminated
* Moved to removing actors proactively when they are terminated instead of
  checking `isTerminated` during publish.
* Subscribers which have registered before initializing the unsubscriber
  will be aggregated in a Seq until one is registered and then it will
  take responsibility of unregistering them on termination.
* Initialization of the unsubscriber can only be run once - attempting
  to initialize the event stream with another unsubscriber will fail,
  and init will return false.
* Assumed having an init (mutable) method on the `EventBus` is fine, as
  it has such methods already and @patriknw's comment in the task for
  this.
* since we must check if the subscriber has any subscribed channels left
  we had to expose this detail from SubchannelClassification via
  `hasSubscriptions`. Increases cost of ubsubscribe(actor, channel) a bit.
* Evacuated the expensive `hasSubscription` call out of eventstream's `unsubscribe` call, and instead making the Unsubscriber check this before it stops watching an actor. If in the mean time the same actor got subscribed, there will be a new Subscribe message emited - so we're good on that side. Also, if it would terminate before the unsubscriber gets the Register message it will call `watch(actor)` on a dead actor, which results in getting Terminated for it, thus we'll stop watching it from the Unsubscriber as expected.

Final squash and small cleanup. Please review again;
2014-04-16 12:13:21 +02:00
Patrik Nordwall
2ff0f1d004 Merge pull request #2115 from cowboy129/master
+con #3972 Make Distributedpubsubmediator support consumer group
2014-04-16 11:00:30 +02:00
Patrik Nordwall
90388e01e3 Merge pull request #15013 from akka/wip-remove-atmos-in-build-patriknw
=pro Remove unused atmos project in build
2014-04-15 21:50:46 +02:00
Patrik Nordwall
ac76045a70 Merge pull request #15010 from akka/wip-old-cleanup-patriknw
=tes Remove some old (dead) test/sample code
2014-04-15 21:50:29 +02:00
Björn Antonsson
68c8df7ead Merge pull request #15012 from akka/wip-3969-update-gen-javadoc-master-ban
=pro Update genjavadoc version to 0.7
2014-04-15 17:54:24 +02:00
Martynas
b9eaf40165 Merge pull request #15009 from 2m/use-sbt-13-2-2m
=pro use sbt 0.13.2
2014-04-15 17:03:59 +02:00
Csongor Somogyi
f11ce9fda1 Updates in the Building Akka documentation page in
accordance with the discussion with @bantonsson
2014-04-15 14:37:12 +02:00
Xingrun CHEN
f421e4260b +con #3972 Make Distributedpubsubmediator support consumer group
1. allow Topic have children topics, which are the groups
2. when publish with sendOneMessageToEachGroup flag, it will send to one
actor each group
2014-04-15 18:54:07 +08:00
Patrik Nordwall
33891a0202 =pro Remove unused atmos project in build 2014-04-15 12:30:05 +02:00
Patrik Nordwall
5982aab066 Merge pull request #2129 from AhmedSoliman/master
Fixes unsubscribe of DistributedPubSubMediator to actually receive the UnsubscribeAck
2014-04-15 12:27:35 +02:00
Björn Antonsson
a5a17e4b66 =pro Update genjavadoc version to 0.7 2014-04-15 11:52:17 +02:00
Csongor Somogyi
9230f9710f Fixes #13983
Two changes have been made:
- In AkkaBuild, forced using UTF-8 to verify HTML files containing
  diagrams
- In the documentation chapter Building Akka, added a section clarifying
  the Graphviz dependency of generating Scaladoc Content Hierarchies

These fixes eliminates the issues I faced while building Akka on Windows
with NetBeans. The first issue is a Windows specific issue where the
default charset cannot be UTF-8. The second is Windows related in the
sense that Graphviz, the optional dependency of Scaladoc, had to be
manually resolved.
2014-04-15 11:40:51 +02:00
Patrik Nordwall
a02e138f3b =tes Remove some old (dead) test/sample code 2014-04-15 11:40:46 +02:00
Martynas Mickevicius
b5572c2ac0 =pro use sbt 0.13.2 2014-04-15 11:33:51 +02:00
Roland Kuhn
7ac37e7536 Merge pull request #1970 from akka/wip-improved-batching-executor-√
=act - Refactored the BatchingExecutor to support both managed blocking ...
2014-04-15 11:27:12 +02:00
Konrad Malawski
990ad99ca3 =doc #3986 Slight updates in wording on cluster singleton docs 2014-04-15 10:22:53 +02:00
Roland Kuhn
6a111d5201 Merge pull request #13994 from akka/wip-assembla-migration-∂π
=doc switch to GitHub Issues
2014-04-14 14:57:17 +02:00