Scientific Programming / 2017 / Article / Alg 1

Research Article

An Invocation Cost Optimization Method for Web Services in Cloud Environment

Algorithm 1

CS-COM  .
Input: user: a cloud user
    cs: a cloud service ready to be invoked by user
    job_size: user’s job (or task) size
    : service quality level of cs requested by user
    : execution_duration = in (1)
    : in (2)
Output: : optimal service invocation start time of cs
     : optimal invocation cost of cs by user
()   Set variable // service invocation start time
()   Get models and from service provider
()   Get parameters and in (4) from service provider based on
()   Estimate cs’s execution_duration based on job_size and (1)
()   Calculate based on , execution_duration and (3)
    // : original service invocation cost of cs by user
()   Calculate based on , , and (4)
    // : comprehensive invocation cost of cs by user
()   Set objective function: Minimize
()   Determine by combining (1)–(5)
()   Determine based on (6)
() Return to user
() Return to user

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.