Opta-planner cloud balancing example - optaplanner

I'm using the cloud balancing example as a reference to a very similar problem. My model requires a dynamic processes adding/delete. I cannot find this feature it in the example.
How do you suggest to dynamically add/delete processes? Do i have to create a new cloudBalance problem instance, and call the solver ? Or i can modify the existing cloudBalance instance ?
Thank you

See AddProcessProblemFactChange in optaplanner-examples.


AWS create multiple ec2 instances

In this oportunity I came to you because I have a doubt, I've been reading the AWS APIs documentation about create instance dynamically in node js, I understand every steps of they example code, and I even tried it and runned it. My question is, is there an API or WAY provied by AWS to create multiples instances in differents regions?
I'm thinking to do it by my own, but I wanna know if there is an efficent way already developed to do this.
Thank you so much before hand.
All AWS API calls are made to a single region.
Therefore, if you wish to launch resources in multiple regions, you will need to send commands to each region individually.
An exception to this are global services (IAM, CloudFront, Route 53, WAF).
Also, AWS CloudFormation StackSets can launch resources in multiple regions:

Can Rhino Queues be used in-process?

I need to implement persistent queues for a new solution and have been looking at Rhino Queues. Unfortunately either there is not much documentation available or I am just not looking in the right spots.
Can I simply add the Rhino.Queues NuGet package to my project and make use of the queues in my application? If so, where can I find better documentation that explains the proper use of the queues? For instance, when running in-process, what do I specify for an endpoint?

Creating 'non-embedded' DATADOG graphs in Node/Express Application

I'm attempting to query our DATADOG hub and display some metric graphs. However, it appears the default way to do this is using an embed script generated by DATADOG and utilizing that in your app. I'm actually wanting to draw the graphs on my side, using their API data so I'm better able to control the size, look and flexibility of the graphs.
Is this something that is possible? Rather new to DATADOG and everything seems to be done in an iFrame, which I do not want.
Additionally, I found a package which I believe may be of use for Node?: http://brettlangdon.github.io/node-dogapi/#embed-create
D.D. Graphs Docs: http://docs.datadoghq.com/api/#graphs
Any advice would be greatly appreciated, I have not seen anything similar on S.O.
I think what you actually want is the metrics-query API endpoint? http://docs.datadoghq.com/api/#metrics-query
There are also a few Node.JS libraries that may be able to handle this kind of metric querying for you: http://docs.datadoghq.com/libraries/#community-node

Please suggest some open source java event handling libraries

I am looking for centralized event processing utility which can listen to events from different applications(possibly running on different app servers), I am searching for an open source solution which I can extend/tailor to may needs. This is what I am planning to do with it -
capture events from different applications
Check for filter condition
Based on filter condition call a webservice to update database or use hibernate or other ORM to update database
It would be helpful if you can suggest some libraries that I can look into,
thanks in advance,
You can use Esper which is an embedable open source complex event processing library

Approach to multithreaded loading of object data

I have a project where i load a number of objects from a web service. For each of these objects i need to call multiple webservices to "enrich" the object. Like e.g. a book, where i need to look up author, year, comments, recommendations etc.
One of the focus areas in this project is performance, so im a little worried about this, and the best approach for loading/enriching all these objects.
Any suggestions for this architecture is welcome.
Right now im planning on looping the books (the first list) and then async query the webservices to get the information i need for "enriching" each book. Is this a good approach? Or is there a better approach?
If you are using .NET 4 then the Task Parallel Library may be the way forward. I've used it to make multiple simultaneous calls to a web service in a similar scenario and it has worked quite well.
These two blog posts may be helpful:
Tasks that create more work
Using semaphores to restrict access to resources (I found that under high load I was killing the service at the other end so I needed to be able to throttle access to it)
I hope that helps.