开发者社区> 问答> 正文

[@倚贤][¥20]什么是“锅炉板模式”(boiler plate patterns)?

出自spring cloud官网描述:
Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up services and applications that implement those patterns. They will work well in any distributed environment, including the developer's own laptop, bare metal data centres, and managed platforms such as Cloud Foundry.
有通俗得解释吗?

展开
收起
晓生寒 2018-12-10 22:54:28 4674 0
1 条回答
写回答
取消 提交回答
  • 分布式系统间的协作产生了一些样板性质的模式,开发者使用 Spring Cloud 就可以快速地构建基于这些模式的服务和应用。

    boiler plate patterns 参考了 boilerplate code,就是一些代码量很少,可以拿过来放到系统中直接使用的样板代码。我认为 boiler plate patterns 可以白话地理解为套路模式。

    分布式系统间的协作都是有套路的,开发者使用 Spring Cloud 就可以快速地构建包括这些套路的服务和应用。

    2019-07-17 23:19:42
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载