you build it,you run it
来源:互联网 发布:p社 mac 编辑:程序博客网 时间:2024/06/06 20:18
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
- It seems that this file has not been built yet.Do you want to build it now? Codeblocks能构建build不能运run
- It seems that this file has not been built yet.Do you want to build it now? Codeblocks能构建build不能运run
- 为了做到“you build it, you break it”这句名言所说的那样
- hdu2141Can you find it?
- can you do it
- it's you ship
- can you find it?
- Can you find it?
- hdu2141Can you find it?
- Can you find it?
- HDU2141Can you find it?
- hdu2141Can you find it?
- Can you find it?
- can you find it?
- Can you find it?
- can you find it?
- hdu2141_Can you find it?
- JS中判断字符串中出现次数最多的字符及出现的次数
- 数字图像处理研究的主要内容
- 【Java】方法重载和方法重写的区别
- java基础复习——列出指定目录下的目录和文件
- 格式化通达OA会签意见,HR虚线分隔
- you build it,you run it
- Struts工程的创建步骤
- Spark源码核心与开发实战---Spark RDD与Spark API编程实例
- JavaScript操作Cookie实现“历史搜索”
- php实现返回上一页的功能的3种有效方法
- 机器学习之AdaBoost元算法(七)
- Git安装及SSH Key管理之Mac篇
- ACM训练题
- Vue.js两级路由