发明名称 System and method for increasing throughput of a PaaS system
摘要 Systems and methods are disclosed for managing the throughput of a platform as a service (PaaS) system. A plurality of PaaS nodes receives deployment jobs, such as from an interface by way of a load balancer. The PaaS nodes extract deployment actions and an action count and post the deployment actions to a queue. The PaaS nodes also initiate, in a coordinator, a counter for the deployment job. The PaaS nodes retrieve deployment actions from the queue and execute them, such as in one of a plurality of threads in a flexible thread pool. Upon completing the action, the PaaS nodes report update the counter corresponding to the deployment job of the action. When a counter for a deployment jobs reaches the action count for the job, completion is reported.
申请公布号 US9342369(B2) 申请公布日期 2016.05.17
申请号 US201313735896 申请日期 2013.01.07
申请人 Wal-Mart Stores, Inc. 发明人 Fernando Ashwanth
分类号 G06F9/46;G06F9/50 主分类号 G06F9/46
代理机构 Bryan Cave LLP 代理人 Bryan Cave LLP
主权项 1. A method for providing platform as a service (PaaS) throughput, the method comprising: receiving, by a plurality of PaaS nodes each executing on a computing device, a plurality of deployment jobs, wherein one of the plurality of PaaS nodes is a leader node; extracting, by the plurality of PaaS nodes, a plurality of deployment actions from each deployment job of the plurality of deployment jobs, the plurality of deployment actions comprising consuming an application manifest; posting, by the plurality of PaaS nodes, the plurality of deployment actions to an action queue; creating an action description entry for at least one of the plurality of deployment actions, the action description entry comprising: a script description of the at least one of the plurality of deployment actions; anda job identifier for each deployment job of the plurality of deployment jobs associated with the at least one of the plurality of deployment actions; retrieving, by the plurality of PaaS nodes, individual ones of the plurality of deployment actions from the action queue; executing, by the plurality of PaaS nodes, the individual ones of the plurality of deployment actions with respect to a plurality of installation nodes and in accordance with the application manifest, wherein executing the individual ones of the plurality of deployment actions comprises: initiating, by the plurality of PaaS nodes, a respective counter in a coordinator module for each deployment job of the plurality of deployment jobs having the job identifier and an action count corresponding to each of the individual ones of the plurality of deployment actions;updating, by the plurality of PaaS nodes, upon execution of each of the individual ones of the plurality of deployment actions, the respective counter in the coordinator module for each deployment job of the plurality of deployment jobs; andreporting, by the coordinator module, completion of each deployment job of the plurality of deployment jobs upon detection of the respective counter corresponding to each deployment job of the plurality of deployment jobs reaching an action count of the respective counter; and while executing each individual one of the plurality of deployment actions, evaluating, by the leader node, a set of counters of the coordinator module, to maintain an amount of PaaS nodes needed by: instantiating, by the leader node, additional PaaS nodes when a number of the plurality of PaaS nodes multiplied by a maximum number of threads is less than a threshold amount above a number of the set of counters; andde-provisioning, by the leader node, a portion of the plurality of PaaS nodes when the number of the plurality of PaaS nodes multiplied by the maximum number of threads is greater than a second threshold amount above the number of the set of counters.
地址 Bentonville AR US