No description
Find a file
Patrik Nordwall 10d32fceb9 scheduleWithFixedDelay vs scheduleAtFixedRate, #26910
* previous `schedule` method is trying to maintain a fixed average frequency
  over time, but that can result in undesired bursts of scheduled tasks after a long
  GC or if the JVM process has been suspended, same with all other periodic
  scheduled message sending via various Timer APIs
* most of the time "fixed delay" is more desirable
* we can't just change because it's too big behavioral change and some might
  depend on previous behavior
* deprecate the old `schedule` and introduce new `scheduleWithFixedDelay`
  and `scheduleAtFixedRate`, when fixing the deprecation warning users should
  make a concious decision of which behavior to use (scheduleWithFixedDelay in
  most cases)

* Streams
* SchedulerSpec
  * test both fixed delay and fixed rate
* TimerSpec
* FSM and PersistentFSM
* mima
* runnable as second parameter list, also in typed.Scheduler
* IllegalStateException vs SchedulerException
* deprecated annotations
* api and reference docs, all places
* migration guide
2019-06-05 11:38:04 +02:00
.github/ISSUE_TEMPLATE Update issue templates (#25912) 2018-11-13 17:45:57 +00:00
akka-actor/src/main scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-actor-testkit-typed/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-actor-tests/src/test scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-actor-typed/src/main scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-actor-typed-tests/src/test scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-bench-jmh scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-bench-jmh-typed Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
akka-cluster scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-cluster-metrics/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-cluster-sharding/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-cluster-sharding-typed/src Unicode arrows (#26965) 2019-05-21 13:35:11 +02:00
akka-cluster-tools/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-cluster-typed/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-coordination/src Remove ApiMayChange from coordination module (#27026) 2019-05-29 15:41:16 +02:00
akka-discovery/src Fix some documentation whitespace (#27036) 2019-05-29 09:48:13 +02:00
akka-distributed-data/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-docs/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-multi-node-testkit/src/main scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-osgi/src Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
akka-persistence/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-persistence-query/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-persistence-shared/src/test/scala/akka/persistence Make artery the default remoting (#26772) 2019-05-01 08:12:09 +01:00
akka-persistence-tck/src format source with scalafmt, #26511 2019-03-15 10:23:46 +01:00
akka-persistence-typed/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-protobuf/src/main/java/akka/protobuf Remove 'dead' code, bringing the class back in line with upstream 2019-03-26 16:19:30 +01:00
akka-remote/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-remote-tests/src Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
akka-serialization-jackson/src Jackson serializer as replacement for Java serialization, #24155 2019-05-24 09:03:45 +02:00
akka-slf4j/src Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
akka-stream/src/main scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-stream-testkit/src Drop MiMa filters for 2.4.x (#26781) 2019-04-23 09:24:29 +02:00
akka-stream-tests/src/test scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
akka-stream-tests-tck/src/test Remove docs for ActorPub/Sub and write persistence query docs as stages (#26844) 2019-05-03 12:36:50 +02:00
akka-stream-typed/src Use function instead of scala partial function for java api #26970 (#26972) 2019-05-24 08:13:22 +02:00
akka-testkit/src scheduleWithFixedDelay vs scheduleAtFixedRate, #26910 2019-06-05 11:38:04 +02:00
project Netty is not optional for multi jvm test kit (#27072) 2019-06-05 10:22:26 +01:00
scripts Remove Scala 2.11 for Akka 2.6 (#26760) 2019-04-19 07:53:27 +01:00
src/main/ls
.gitignore Drop the exec bit on non-executable files 2017-05-23 16:06:27 +02:00
.jvmopts-travis Use Adopt JDK 8 in Travis 2019-01-02 13:56:33 +01:00
.sbt-java-formatter.conf Add sbt-java-formatter for java code formatting. 2019-01-12 01:41:54 +08:00
.sbtopts increase heap size in .sbtopts (#26295) 2019-01-28 14:42:35 +01:00
.scalafix.conf Setup different fix alias on different sub projects and add support to ignore dedicated packages when do scalafix. 2018-12-17 21:10:11 +08:00
.scalafmt.conf Upgrade scalafmt 2019-05-29 10:20:45 +01:00
.travis.yml Use travis stages (#27032) 2019-05-29 09:48:54 +02:00
build.sbt Adding improved warning when jdk8 is not found #26222 (#26789) 2019-06-04 12:19:39 +02:00
CODE_OF_CONDUCT.md Add Code of Conduct, inspired by Play Framework's (#23673) 2017-09-21 19:23:19 +09:00
CONTRIBUTING.md Remove extra cherrypick step from contributing (#26939) 2019-05-21 08:31:00 -04:00
COPYING.protobuf
LICENSE Include the full apache license text (#23992) 2017-11-14 16:47:33 +01:00
README.md Add Travis build status badge and fix Scaladex latest version badge #26782 2019-04-23 08:56:35 +02:00
RELEASING.md update latestPatchOf25 to 2.5.23 2019-05-22 16:39:19 +02:00

Akka Latest versionBuild Status

We believe that writing correct concurrent & distributed, resilient and elastic applications is too hard. Most of the time it's because we are using the wrong tools and the wrong level of abstraction.

Akka is here to change that.

Using the Actor Model we raise the abstraction level and provide a better platform to build correct concurrent and scalable applications. This model is a perfect match for the principles laid out in the Reactive Manifesto.

For resilience, we adopt the "Let it crash" model which the telecom industry has used with great success to build applications that self-heal and systems that never stop.

Actors also provide the abstraction for transparent distribution and the basis for truly scalable and fault-tolerant applications.

Learn more at akka.io.

Reference Documentation

The reference documentation is available at doc.akka.io, for Scala and Java.

Community

You can join these groups and chats to discuss and ask Akka related questions:

In addition to that, you may enjoy following:

Contributing

Contributions are very welcome!

If you see an issue that you'd like to see fixed, the best way to make it happen is to help out by submitting a pull request implementing it.

Refer to the CONTRIBUTING.md file for more details about the workflow, and general hints on how to prepare your pull request. You can also ask for clarifications or guidance in GitHub issues directly, or in the akka/dev chat if a more real time communication would be of benefit.

A chat room is available for all questions related to developing and contributing to Akka: gitter: akka/dev

License

Akka is Open Source and available under the Apache 2 License.