When to Scale your Applications