New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Akka by a Thread Pool / Executor service #398
Comments
Except if you use the Akka service directly, you should not be impacted by this change. The current Akka support is going to be exported as an extension. |
I use the akka service when i need the scheduled behavior for a non-harcoded time interval ( no annotation ). Will it be possible to do this with Thread Pool or will it need the extension? |
The service will be a bit different, but you will have this feature, in a more flexible way actually. If you rely on Akka API, you would need to deploy the (current) Akka-System explicitly. |
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Ongoing work on the #398 branch. |
Refactoring Support of scheduled and periodic tasks More tests Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Add the wisdom-thread-pools project to the base distribution Migrate the router to the new services Migrate Vertx to the new services Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Right now, we still provide Akka (in the 0.7.1), Akka will be moved as an extension in the 0.7.2 |
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
So, I've made an implementation of executors and schedulers based on the Java Execution Services. This implementation is close to the JavaEE Concurrent specification (so you may recognize some concepts), but is definitely not an implementation (as it's really close to JavaEE). I've migrated all Wisdom core feature to the new model. |
Initially I decided to use Akka for its actor model. But after some time I realize I'm using it as a pure thread pool. It's a big big for a thread pool (as it requires Scala).
We should replace it by a better thread pool service, maybe using Quartz (http://quartz-scheduler.org/generated/2.2.1/html/qs-all/#page/Quartz_Scheduler_Documentation_Set%2Fco-abt_quartz_features.html%23) or pure Executors.
The text was updated successfully, but these errors were encountered: