-
Notifications
You must be signed in to change notification settings - Fork 60
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
Refactoring #26
Refactoring #26
Conversation
vmorarian
commented
Nov 9, 2013
- simplified logic
- removed Future wrap (always can do that in action)
- more functional style
- code style corrections
- removed Future
- reorganized views
#26. Conflicts: app/actors/UpdateMetricsActor.scala app/controllers/Api.scala app/controllers/Application.scala app/controllers/Regions.scala app/models/LogFile.scala app/models/Region.scala
As I understand, caching is needed for large clusters.
Another option is to create actor which will update once per N mins list of all regions. I made branch with code template https://github.com/vmorarian/hannibal/tree/refactoring-like-cache |
Thanks for the input.
However I think performance discussion does not belong here. I would suggest we agree upon the cache (EHCache vs hBaseActor), complete the pull-request and continue performance related discussion in #22. |
merged it into 'next' |
Your comments are reasonable. Lets go in this way. I'm going to work in other PR on upgrade to Playframework v2.2. |