how to simulate a cloud environment using java

2.5k Views Asked by At

I would like to simulate a cloud computing environment for testing purpose. I would prefer to develop this environment using java.
I am not sure where to start and how to start as I have never done simulation earlier on. I am aware of cloudsim but I would rather try to simulate the environment programmatically.

Any ideas or suggestions please?

2

There are 2 best solutions below

0
On BEST ANSWER

The App Engine Java SDK enables you to debug your code locally on your computer. Above all it gives you the ability to simulate the consistency model. From their SDK:

You can configure the local datastore to simulate the consistency model of the High Replication Datastore. This will give you a good idea how an application configured to use the High Replication Datastore will operate in production.

For more information please go over http://code.google.com/appengine/docs/java/tools/devserver.html

0
On

Requirements are not very clear. But I think that you can modify some open source peer to peer networking api for the purpose as you can enable file redundancy etc in it. Then you can run multiple instances of the p2p clients to simulate servers in the cloud.