Adaptively Improving Performance Stability Of Cloud Based Application Using The Modern Portfolio Theory