this article is almostly about  a book named Migrating_to_Microservices_Databases, and it's just the part of DevOps.  I read this book , now I make some summary!

tips: in fact , i took a lot time to think shall I use Chinese or English to write it, but i found a truth after i try use chinese that i must translate it although i  can understand it by myself. and
this article is write for myself, so english, i don't want waste time to translate, sorry !  but maybe  i just want to copy something form this book, maybe i just make nosence in this article......I don't know.....

一、the Feedback loop

i think whatever we do , the feedback in time is so important. we must know we are on a right track, right?  in software , the longer the feedback loop , the worse the results are. but usually we get
a long feedback loop. to think our development lifecycle, after we developed it , we must apply for test, then if it can run correctly, we gonna merge code to production. (wait ,wait ,wait , we must have three environment here and must ensure all of them is
right) i don't know what happed in your brain. but for me, sometimes  when the test department return me a bug list, i usually forgot something in detail about what i did about the code, what is the logic about the code, how i think it at the moment. sometimes
i event don't know why it's a bug. i lost something important in my brain, so maybe i will need more time to solve the problem.

ok , we know we do not need a long feedback loop , but how to do it?

二、DevOps

DevOps:Developer and Operator

who have the problem: but i am sure it run perfectly in my machine, i can show you.   i have the problem and usually.  when  i developed ITOO basic system, it makes me crazy. i don't know what happened
in productiom even in test, but i am hundred percent sure it run perfectly in my machine. but , there are some bugs, this is a truth too. as  a developer i must fix it even i don't know what's wrong with it. at the moment, i have a hope or just a impulse let
me to config the environment about test and production, i want to delivery my own code, i don't need a operator, even i don't need other people help me test my code. i can do it all by myself !  and i am so confused why we need three environment, it's ideal if
my develop environment is the production environment at the same time.

OK ,come back to our topic, how to reduce the feedback loop?

number1:DevOps

number2:Microservice

why and how to do in detail?

at the first, why we have a long feedback loop? test\ fix bugs\so on. but why it took so much time to test(i ever had a question: why i test by myself on my machine, then other people do it again on
their machine.and finally,we submit the code to another environment named production)? why we have so much bugs in production? because the code changed, more code chaned, more bugs we have.

DevOps is to make us i mean developer recliam the ownership of our work. we don't need other people to delivery our application for us, we don't want to tell them how to config the environment again
and again but didn't work. we don't want to waste time,so we must do it by ourselves, we must rescue ourselves by using tools.  and how about microservice? i don't wanna write this article, i finished the book, i gonna get home for a sweet dream!

you build it,you run it的更多相关文章

  1. VUE-CLI Vue安装及开发,npm run build无法查看项目的问题

    Vue-cli 本地安装vue项目 需要安装node.js,用node命令行npm的方式安装Vue 步骤: 1.进入项目地址安装 npm install vue-cli -g 2.初始化一下 ESli ...

  2. Nodejs:npm run build之后,dist\index.html页面在火狐中可以正常显示登录页面并登录成功,在Chrome中可以正常显示登录页面,登录失败

    问题描述:Nodejs:npm run build之后,dist\index.html页面在火狐中可以正常显示登录页面并登录成功,在Chrome中可以正常显示登录页面,登录失败 解决方法:将打包后的d ...

  3. maven项目右键快捷方式,然后点击Run As

    在某一个maven项目右键快捷方式,然后点击Run As就可以发现几个Maven的命令: 1.Maven Build: 这个命令用于编译Maven工程,执行命令后会在target文件夹中的classe ...

  4. Android中build target,minSdkVersion,targetSdkVersion,maxSdkVersion概念区分 (转载)

    本文参考了谷歌开发者文档:http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#provisional 如果 ...

  5. Android中build target,minSdkVersion,targetSdkVersion,maxSdkVersion概念区分

    Android中build target,minSdkVersion,targetSdkVersion,maxSdkVersion概念区分 标签: build targetminSdkVersiont ...

  6. Android中build target,minSdkVersion,targetSdkVersion,maxSdkVersion概念区分

    问题引入:   有一个下载功能,在Android 5.x设备上运行正常,Android 6.x上运行异常,现象是下载进度卡在0%.   问题排查发现,是sdk的target设置为23导致,修改为21则 ...

  7. 创建线程的一般方式和匿名内部类方式对比——继承thread类,重写run()方法

    第一种:继承thread类,重写run()方法 一般方式:Demo01.java /** * 创建线程的第一种方式:继承thread类,重写run()方法 * * @author :liuqi * @ ...

  8. springboot maven项目,为什么build成功,build path也没错误,project-->clean 也没用,项目上面还是有个红x呢?

    springboot maven项目,为什么build成功,build path也没错误,project-->clean 也没用,项目上面还是有个红x呢? 看错误信息有提示:  Descript ...

  9. vue-cli,build 后,报错的解决办法

    报错如下图: 或: 解决办法:config / index.js 中,找到 build { assetsPublicPath: '/' },将其设置为:assetsPublicPath: './ ' ...

随机推荐

  1. WinForm 窗体API移动 API阴影

    窗体移动 //窗体移动API [DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllI ...

  2. pod install Pull is not possible because you have unmerged files.

    http://stackoverflow.com/questions/21474536/podfile-gives-an-error-on-install A bug was found in lib ...

  3. CF Gym 100187M Heaviside Function(二分)

    题意:给你一个函数和一些系数,给你一堆询问,求函数值. 根据s的符号,分成两组讨论,函数值与比x小的系数数量有关,二分输出答案. #include<cstdio> #include< ...

  4. css设置禁止文字被选中

    // 禁止文字被鼠标选中 moz-user-select: -moz-none; -moz-user-select: none; -o-user-select:none; -khtml-user-se ...

  5. PAT (Basic Level) Practise (中文)- 1013. 数素数 (20)

    http://www.patest.cn/contests/pat-b-practise/1013 令Pi表示第i个素数.现任给两个正整数M <= N <= 104,请输出PM到PN的所有 ...

  6. vue 报错unknown custom element解决方法

    原因: 没有引入相关组件导致的 解决办法: 如果组件是按需引入的必须引入你当前用到的组件,否则会报错

  7. OC和C++的混用1

    //Objective-C类 /*在混用之前需要做一步非常重要的事:不是代码而是编译器选项,在做混合编译之前一定要把编译器的Compile Sources As选项改为Objective C++. 修 ...

  8. cena 测评机下载地址

    以下是cane的下载地址,现在分享给你们,希望有所帮助 下载地址百度云:https://pan.baidu.com/s/1JBXiVSZy-jhIc0V-F2ESPA 密码:hgtk 点击下载即可. ...

  9. noip考前注意事项

    明天就要离开学校,后天的现在Day1已经考完啦,临近考试了紧不紧张呢(不紧张才怪),那么考前我们应该注意点什么呢? 1.带好自己的证件,带好自己的证件,带好自己的证件,这很重要. 2.试机的时候一定要 ...

  10. errno的用法

    Linux中系统调用的错误都存储于 errno中,errno由操作系统维护,存储就近发生的错误,即下一次的错误码会覆盖掉上一次的错误. 编程时需要包含#include <errno.h>, ...