发明名称 PREDICTIVE APPROACH TO ENVIRONMENT PROVISIONING
摘要 Embodiments of the present invention provide methods, systems, and computer program products for building an environment. Embodiments of the present invention can be used to allocate resources and build an environment such that the environment is built when a user is prepared to test one or more portions of code in the environment. Embodiments of the present invention can be used to reduce the “lag time” developers experience between waiting for the code to be built and for resources to be provisioned, and can also provide a less costly alternative to maintaining and operating dedicated environments.
申请公布号 US2017017564(A1) 申请公布日期 2017.01.19
申请号 US201615280194 申请日期 2016.09.29
申请人 International Business Machines Corporation 发明人 Collier Jason A.;Leigh David L.;Wei Yi-Hsiu;Will Scott A.
分类号 G06F11/36;G06F9/44 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for building an environment, the method comprising: predicting, by one or more computer processors, a time at which to start building an environment, such that the environment is built and made available to a user by the time the user is prepared to test the one or more portions of code in the environment, wherein predicting, by one or more computer processors, the time at which to start building the environment such that the environment is built when the user is prepared to test the one or more portions of code in the environment comprises: calculating, by one or more computer processors, a time at which to start building the environment based, at least in part, on an identified length of time to perform any necessary builds of code, an identified length of time to complete a coding task, an identified start time at which the user began work on the coding task, and an identified length of time needed to build the environment, wherein the identified length of time needed to build the environment comprises a total length of time needed to allocate identified resources from a resource pool and configure those resources into an environment for the coding task, andwherein calculating, by one or more computer processors, the time at which to start building the environment comprises: calculating, by one or more computer processors, a tentative start time at which to start building the environment by adding values for the identified length of time to perform any necessary builds of code and the identified length of time to complete the coding task to the identified start time at which the user began work on the coding task, and subtracting the identified length of time needed to build the environment,determining whether the tentative start time plus the identified time to build the environment complies with a time at which the user will be available to test the one or more portions of code in the environment,responsive to determining that the tentative start time plus the identified time to build the environment does not comply with a time at which the user will be available to test the one or more portions of code in the environment, adjusting the tentative start time by an identified next available time at which the user will be available to test the one or more portions of code in the environment, and using the adjusted tentative start time as the time at which to start building the environment, andresponsive to determining that the tentative start time plus the identified time to build the environment does comply with a time at which the user will be available to test the one or more portions of code in the environment, using the tentative start time as the time at which to start building the environment.
地址 Armonk NY US