How does a cloud service work (aws/azure/gae) ?

Started by
1 comment, last by JohnSimor 12 years, 10 months ago
Really basic question about clouds but i have never used one before.

Suppose i have an mmo networking application in aws/azure/gae with one active instance.
My application starts with some initialization code, and suppose it now runs five rooms of clients every 100ms.

When the next client connects, the cloud adds a second instance.

So what happens now?

The rooms spread across the two instances, running as usual once every 100ms?
Or the app runs from the beginning in the second instance, with the initialization code, like a completely separate app?
Advertisement

Or the app runs from the beginning in the second instance, with the initialization code, like a completely separate app?


Clouds are not magic. What happens is what you describe here. Basically, a cloud gives you the shell function "boot new computer and tell me about it," just like you could plug in a new computer to your own network and turn it on. That's it! You have to build all the interesting high-level load balancing stuff.
enum Bool { True, False, FileNotFound };
It seems i have a lot of work to do then :D

This topic is closed to new replies.

Advertisement