7月14日-Heat Optimization-林冠宇(EN).pdf

  1. 1、本文档共25页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
7月14日-Heat Optimization-林冠宇(EN)

Heat Optimization Rico Lin Chief OpenStack Technologist, inwinSTACK IRC: ricolin rico.l@ @ricolintw Placeholder Footer Copy / BU Logo or Name Goes Here Why NOT 80% adoption rates Orchestrates multiple composite cloud applications by using either the native HOT template format or the AWS CloudFormation template format, through both an OpenStack-native REST API and a CloudFormation-compatible Query API. ? Was not parallel excution ? Database monster ? Memory monster ? Don’t know how we can use it? Because! Convergence : Truly using every power we have Template Heat-API AMQP Heat-engine AMQP (engine_w orker) Worker DB B A Template Heat-API AMQP Heat-engine DB stackA stackA stackA stackA ? ? Start Newton, `convergence_engine` default to `True` ? num_engine_workers = max(4, multiprocessing.cpu_count()) ? (WIP)Migrate your old stack to convergence_stack convergence_engine = True Template Heat-API AMQP Heat-engine AMQP (engine_w orker) Worker DB More Database comsume when we change to Convergence Eager and Lazy Fetch ? What always been query right next to each other?(Eager fetch it!) – raw_template always after stack ? What we can took a chance and read if required(Lazy fetch it!) – stack_tag not always after stack Contexts Cache ? Only apply when `refresh = False` ? Replace database access Batch Task ? Accept Queue to process tasks in batch Template Heat-API AMQP Heat-engineAMQP (engine_worker) Worker DB TaskTaskTask TaskTask Task Task Task Task Task Task Optimize Sync Table C D BA SyncPoint leaves ? Resolving back to back retry – Random retry ? max_wait=conflict_count*0.01 ? wait=random(0, max_wait) – Exponential backoff ? wait=random(max_wait)*2^N+jitter Resolving Update Cancel ? Under develop ? handle_%s_cancel Reduce dramatically Placeholder Footer Copy / BU Logo or Name Goes Here Optimize your script More operate = More mistake 1 Operation 20 Min. 100 Operations 100 Min. VS Stack Stack = Parameters + Resources parameters: flavor: type: string ne

您可能关注的文档

文档评论(0)

l215322 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档