| |
| <!DOCTYPE HTML> |
| <html lang="" > |
| <head> |
| <meta charset="UTF-8"> |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> |
| <title>2 版本管理 · GitBook</title> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| <meta name="description" content=""> |
| <meta name="generator" content="GitBook 3.2.2"> |
| |
| |
| |
| |
| <link rel="stylesheet" href="gitbook/style.css"> |
| |
| |
| |
| |
| <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css"> |
| |
| |
| |
| <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css"> |
| |
| |
| |
| <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <meta name="HandheldFriendly" content="true"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
| <meta name="apple-mobile-web-app-capable" content="yes"> |
| <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png"> |
| <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon"> |
| |
| |
| <link rel="next" href="源码构建.html" /> |
| |
| |
| <link rel="prev" href="contribution.html" /> |
| |
| |
| </head> |
| <body> |
| |
| <div class="book"> |
| <div class="book-summary"> |
| |
| |
| <div id="book-search-input" role="search"> |
| <input type="text" placeholder="Type to search" /> |
| </div> |
| |
| |
| <nav role="navigation"> |
| |
| |
| |
| <ul class="summary"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li class="chapter " data-level="1.1" data-path="./"> |
| |
| <a href="./"> |
| |
| |
| Introduction |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.2" data-path="contribution.html"> |
| |
| <a href="contribution.html"> |
| |
| |
| 1 contribution |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter active" data-level="1.3" data-path="版本管理.html"> |
| |
| <a href="版本管理.html"> |
| |
| |
| 2 版本管理 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.4" data-path="源码构建.html"> |
| |
| <a href="源码构建.html"> |
| |
| |
| 3 源码构建 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.5" data-path="框架设计.html"> |
| |
| <a href="框架设计.html"> |
| |
| |
| 4 框架设计 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.6" data-path="扩展点加载.html"> |
| |
| <a href="扩展点加载.html"> |
| |
| |
| 5 扩展点加载 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7" data-path="SPI参考手册/introduction.html"> |
| |
| <a href="SPI参考手册/introduction.html"> |
| |
| |
| 6 SPI参考手册 |
| |
| </a> |
| |
| |
| |
| <ul class="articles"> |
| |
| |
| <li class="chapter " data-level="1.7.1" data-path="SPI参考手册/协议扩展.html"> |
| |
| <a href="SPI参考手册/协议扩展.html"> |
| |
| |
| 6.1 协议扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.2" data-path="SPI参考手册/调用拦截扩展.html"> |
| |
| <a href="SPI参考手册/调用拦截扩展.html"> |
| |
| |
| 6.2 调用拦截扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.3" data-path="SPI参考手册/引用监听扩展.html"> |
| |
| <a href="SPI参考手册/引用监听扩展.html"> |
| |
| |
| 6.3 引用监听扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.4" data-path="SPI参考手册/暴露监听扩展.html"> |
| |
| <a href="SPI参考手册/暴露监听扩展.html"> |
| |
| |
| 6.4 暴露监听扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.5" data-path="SPI参考手册/集群扩展.html"> |
| |
| <a href="SPI参考手册/集群扩展.html"> |
| |
| |
| 6.5 集群扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.6" data-path="SPI参考手册/路由扩展.html"> |
| |
| <a href="SPI参考手册/路由扩展.html"> |
| |
| |
| 6.6 路由扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.7" data-path="SPI参考手册/负载均衡扩展.html"> |
| |
| <a href="SPI参考手册/负载均衡扩展.html"> |
| |
| |
| 6.7 负载均衡扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.8" data-path="SPI参考手册/合并结果扩展.html"> |
| |
| <a href="SPI参考手册/合并结果扩展.html"> |
| |
| |
| 6.8 合并结果扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.9" data-path="SPI参考手册/注册中心扩展.html"> |
| |
| <a href="SPI参考手册/注册中心扩展.html"> |
| |
| |
| 6.9 注册中心扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.10" data-path="SPI参考手册/监控中心扩展.html"> |
| |
| <a href="SPI参考手册/监控中心扩展.html"> |
| |
| |
| 6.10 监控中心扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.11" data-path="SPI参考手册/扩展点加载扩展.html"> |
| |
| <a href="SPI参考手册/扩展点加载扩展.html"> |
| |
| |
| 6.11 扩展点加载扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.12" data-path="SPI参考手册/动态代理扩展.html"> |
| |
| <a href="SPI参考手册/动态代理扩展.html"> |
| |
| |
| 6.12 动态代理扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.13" data-path="SPI参考手册/编译器扩展.html"> |
| |
| <a href="SPI参考手册/编译器扩展.html"> |
| |
| |
| 6.13 编译器扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.14" data-path="SPI参考手册/消息派发扩展.html"> |
| |
| <a href="SPI参考手册/消息派发扩展.html"> |
| |
| |
| 6.14 消息派发扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.15" data-path="SPI参考手册/线程池扩展.html"> |
| |
| <a href="SPI参考手册/线程池扩展.html"> |
| |
| |
| 6.15 线程池扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.16" data-path="SPI参考手册/序列化扩展.html"> |
| |
| <a href="SPI参考手册/序列化扩展.html"> |
| |
| |
| 6.16 序列化扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.17" data-path="SPI参考手册/网络传输扩展.html"> |
| |
| <a href="SPI参考手册/网络传输扩展.html"> |
| |
| |
| 6.17 网络传输扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.18" data-path="SPI参考手册/信息交换扩展.html"> |
| |
| <a href="SPI参考手册/信息交换扩展.html"> |
| |
| |
| 6.18 信息交换扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.19" data-path="SPI参考手册/组网扩展.html"> |
| |
| <a href="SPI参考手册/组网扩展.html"> |
| |
| |
| 6.19 组网扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.20" data-path="SPI参考手册/Telnet命令扩展.html"> |
| |
| <a href="SPI参考手册/Telnet命令扩展.html"> |
| |
| |
| 6.20 Telnet命令扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.21" data-path="SPI参考手册/状态检查扩展.html"> |
| |
| <a href="SPI参考手册/状态检查扩展.html"> |
| |
| |
| 6.21 状态检查扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.22" data-path="SPI参考手册/容器扩展.html"> |
| |
| <a href="SPI参考手册/容器扩展.html"> |
| |
| |
| 6.22 容器扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.23" data-path="SPI参考手册/页面扩展.html"> |
| |
| <a href="SPI参考手册/页面扩展.html"> |
| |
| |
| 6.23 页面扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.24" data-path="SPI参考手册/缓存扩展.html"> |
| |
| <a href="SPI参考手册/缓存扩展.html"> |
| |
| |
| 6.24 缓存扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.25" data-path="SPI参考手册/验证扩展.html"> |
| |
| <a href="SPI参考手册/验证扩展.html"> |
| |
| |
| 6.25 验证扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.7.26" data-path="SPI参考手册/日志适配扩展.html"> |
| |
| <a href="SPI参考手册/日志适配扩展.html"> |
| |
| |
| 6.26 日志适配扩展 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| |
| </ul> |
| |
| </li> |
| |
| <li class="chapter " data-level="1.8" data-path="技术兼容性测试.html"> |
| |
| <a href="技术兼容性测试.html"> |
| |
| |
| 7 技术兼容性测试 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.9" data-path="公共契约.html"> |
| |
| <a href="公共契约.html"> |
| |
| |
| 8 公共契约 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.10" data-path="坏味道.html"> |
| |
| <a href="坏味道.html"> |
| |
| |
| 9 坏味道 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.11" data-path="编码约定.html"> |
| |
| <a href="编码约定.html"> |
| |
| |
| 10 编码约定 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.12" data-path="检查列表.html"> |
| |
| <a href="检查列表.html"> |
| |
| |
| 11 检查列表 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| <li class="chapter " data-level="1.13" data-path="设计原则.html"> |
| |
| <a href="设计原则.html"> |
| |
| |
| 12 设计原则 |
| |
| </a> |
| |
| |
| |
| </li> |
| |
| |
| |
| |
| <li class="divider"></li> |
| |
| <li> |
| <a href="https://www.gitbook.com" target="blank" class="gitbook-link"> |
| Published with GitBook |
| </a> |
| </li> |
| </ul> |
| |
| |
| </nav> |
| |
| |
| </div> |
| |
| <div class="book-body"> |
| |
| <div class="body-inner"> |
| |
| |
| |
| <div class="book-header" role="navigation"> |
| |
| |
| <!-- Title --> |
| <h1> |
| <i class="fa fa-circle-o-notch fa-spin"></i> |
| <a href="." >2 版本管理</a> |
| </h1> |
| </div> |
| |
| |
| |
| |
| <div class="page-wrapper" tabindex="-1" role="main"> |
| <div class="page-inner"> |
| |
| <div id="book-search-results"> |
| <div class="search-noresults"> |
| |
| <section class="normal markdown-section"> |
| |
| <p><strong>新功能的开发</strong> 和 <strong>稳定性的提高</strong> 对产品都很重要。</p> |
| <p>但是添加新功能会影响稳定性,Dubbo使用如下的版本开发模式来保障两者。</p> |
| <h4 id="2个版本并行开发">2个版本并行开发</h4> |
| <ul> |
| <li>BugFix版本:低版本,比如2.4.x。是GA版本,线上使用的版本,只会BugFix,升级第三位版本号。</li> |
| <li>新功能版本:高版本,比如2.5.x。加新功能的版本,会给对新功能有需求的应用试用。</li> |
| </ul> |
| <p>2.5.x的新功能基本稳定后,进入2.5.x试用阶段。找足够多的应用试用2.5.x版本。</p> |
| <p>在2.5.x够稳定后:</p> |
| <ul> |
| <li>2.5.x成为GA版本,只BugFix,推广使用此版本。如何可行,可以推进应用在期望的时间点内升级到GA版本。</li> |
| <li>2.4.x不再开发,应用碰到Bug让直接升级。(这个称为“夕阳条款”)</li> |
| <li>从2.5.x拉成分支2.6.0,作为新功能开发版本。</li> |
| </ul> |
| <h4 id="优势">优势</h4> |
| <ul> |
| <li>保持GA版本是稳定的!因为:<ul> |
| <li>只会作BugFix</li> |
| <li>成为GA版本前有试用阶段</li> |
| </ul> |
| </li> |
| <li>新功能可以高版本中快速响应,并让应用能试用新功能。</li> |
| <li>不会版本过多,导致开发和维护成本剧增</li> |
| </ul> |
| <h4 id="用户要配合的职责">用户要配合的职责</h4> |
| <p>由于开发只会BugFix GA版本,所以用户需要积极跟进升级到GA版本,以Fix发现的问题。</p> |
| <p>定期升级版本用户带来了不安。这是一个假命题,说明如下:</p> |
| <ul> |
| <li>GA经过一个试用阶段保持稳定。</li> |
| <li>GA版本有Bug会火速Fix</li> |
| <li>相对出问题才升级到GA版本(可以跨了多个版本)定期升级平摊风险(类似小步快跑)。经历过周期长的大项目的同学会有这样的经历,三方库版本长时间不升级,结果出了问题不得不升级到新版本(跨了多个版本)风险巨大。</li> |
| </ul> |
| |
| |
| </section> |
| |
| </div> |
| <div class="search-results"> |
| <div class="has-results"> |
| |
| <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> |
| <ul class="search-results-list"></ul> |
| |
| </div> |
| <div class="no-results"> |
| |
| <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
| |
| </div> |
| </div> |
| </div> |
| |
| </div> |
| </div> |
| |
| </div> |
| |
| |
| |
| <a href="contribution.html" class="navigation navigation-prev " aria-label="Previous page: 1 contribution"> |
| <i class="fa fa-angle-left"></i> |
| </a> |
| |
| |
| <a href="源码构建.html" class="navigation navigation-next " aria-label="Next page: 3 源码构建"> |
| <i class="fa fa-angle-right"></i> |
| </a> |
| |
| |
| |
| </div> |
| |
| <script> |
| var gitbook = gitbook || []; |
| gitbook.push(function() { |
| gitbook.page.hasChanged({"page":{"title":"2 版本管理","level":"1.3","depth":1,"next":{"title":"3 源码构建","level":"1.4","depth":1,"path":"源码构建.md","ref":"./源码构建.md","articles":[]},"previous":{"title":"1 contribution","level":"1.2","depth":1,"path":"contribution.md","ref":"./contribution.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"版本管理.md","mtime":"2017-07-25T08:58:23.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-07-28T06:06:03.101Z"},"basePath":".","book":{"language":""}}); |
| }); |
| </script> |
| </div> |
| |
| |
| <script src="gitbook/gitbook.js"></script> |
| <script src="gitbook/theme.js"></script> |
| |
| |
| <script src="gitbook/gitbook-plugin-search/search-engine.js"></script> |
| |
| |
| |
| <script src="gitbook/gitbook-plugin-search/search.js"></script> |
| |
| |
| |
| <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script> |
| |
| |
| |
| <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script> |
| |
| |
| |
| <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script> |
| |
| |
| |
| <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script> |
| |
| |
| |
| </body> |
| </html> |
| |