-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Queue-Based Load Leveling pattern #450
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
Comments
@iluwatar |
@Amarnath510 your contribution is welcome. Please read https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute first. You can ask discuss the implementation here or in the Gitter chat https://gitter.im/iluwatar/java-design-patterns. |
@iluwatar NOTE: I haven't followed any code conventions as of now. This is just for design discussions.
This is my understanding and the UML diagram for the same. Please feel free to correct me. |
@Amarnath510 according to my understanding of the pattern the design draft looks correct. The task generators produce tasks that go into a queue and the service consumes the tasks from the queue at its own rate. |
@iluwatar |
👍 |
@iluwatar |
The steps are described here https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute. Don't hesitate to ask if you need further information. |
@iluwatar |
Issue #450. First commit. Queue Based Load Leveling
@iluwatar
Are the steps correct? |
@Amarnath510 the answer to all the questions is "yes, you got it right" 😄 |
Try clicking the link "compare across forks" and selecting your fork's gh-pages branch. |
@iluwatar |
iluwatar#450 Queue-Based-Load-Leveling Blog
@iluwatar |
#450 Blog: Queue-Based Load Leveling Pattern
* Initial commit of the object mother iluwatar#498 Add a simple king and queen classes which implement the behaviour of the royalty interface. Also wrote the object mother of royalty objects which is final so you can just call the static methods in it to create objects with a specific state to use them fast in tests. The tests are already created for testing the behaviour and the type of the objects which are created by the object mother. I also created the UML diagrams via object aid and updated the readme. * Add PlantUML file for the UML diagram iluwatar#498 * End process logic clause has been corrected. * Unused import removed. * Add SonarQube.com badge * iluwatar#502 Replaced usages of System.out with logger. * Change name of variables in test iluwatar#498 * add entry to parent pom.xml iluwatar#498 * Fix pom.xml * Fix pom.xml Deleted </modules> tag because i added it one time more than neccessary * FirstCut++ FirstCut++ * SecondCut++ SecondCut++ * App++ App++ * App App * checkstyle errors removed checkstyle errors removed * iluwatar#502 Reverted changes in composite example, due to nature of this example using logger isn't good idea * Remove use of coveralls-maven-plugin (sonarqube.com covers this) * iluwatar#502 Adjusted tests for logger introduction * iluwatar#502 Introduced logging in new example * Create presentation template * Link Hexagonal Architecture pattern to corresponding blog entry * Work on Hexagonal Architecture presentation * Add new diagram * Add presentation link to README.md * Update App.java The relationship between decorator and target (in the code example between Troll und SmartTroll) ist not a composition as described in the code comment lines of class App. It's a aggregation. In a composition both instances canncot live without the other one. But the target (Troll) could live without the decorator (Smart Troll). Changed "composition" to "aggregation" in the comment lines. Code lines are unchanged. Greetings Thomas * Review comments++ * Review comments++ * iluwatar#502 Reduced amount of information logged * Issue iluwatar#450. First commit. Queue Based Load Leveling * Issue iluwatar#450. Updated pom.xml * Updated checkstyle errors. * Updated pom.xml with maven-pmd-plugin Added dependency "maven-pmd-plugin" to the pom file. * Reverted pom.xml changes that are done previously. * Fixed PMD issue. * Decorator pattern: Improve the example * Removed unused imports in tests * Proxy pattern: Improve the example * Proxy pattern: Add missing license header * Update URM Version to 1.4.4 and regenerated all puml files * Update license headers * Fixed all the code changes after review * Review comments++ * Sonar bug fixes using Yoda condition in equals expression when comparing String literal with String object. Using try-with-resources if we use Scanner to close the underlying stream is a good practice to handle resources. Minimal refactor. * Sonar bug fixes using Yoda condition in equals expression when comparing String literal with String object. Using try-with-resources if we use Scanner to close the underlying stream is a good practice to handle resources. Minimal refactor. * Adding initialization on demand holder idiom. * Changing constant interface pattern with a Noninstantiable class * Add some material for proxy presentation. * Add presentation for Proxy pattern. * Add link to Proxy presentation. * Achieved milestone 1.14.0 * Set version for next development iteration * iluwatar#525 Add link to Queue-Based Load Leveling blog * iluwatar#525 Add link to proxy blog * Changing code to use interfaces instead of implementations. * Changing code to use interfaces instead of implementations. * Reverting initialization on demand holder idiom. * iluwatar#190 Regenerate puml files * iluwatar#190 Rename package for Queue-Based Load Leveling pattern
https://msdn.microsoft.com/en-us/library/dn589783.aspx
The text was updated successfully, but these errors were encountered: