The rise of micro-service architecture

Source: Internet
Author: User
Keywords Cloud computing open source Docker

"Editor's note" Docker has changed many things in the field of application development and has become one of the most popular open source projects, and fundamentally changed the way people build applications. Docker is changing cloud development practices, allowing anyone to leverage the best practices of the packaged community in the form of other containers, like the Lego toys of cloud components.

The following is the translation:

Docker is like a forest fire, and the new Linux container technology has ignited everything around it in its own way, and many of us are struggling to keep up with the speed at which it spreads. Docker is not only one of the most popular open source projects in history, but also fundamentally changes the way people think about building applications.

Strictly speaking, many of the ideas behind Docker applications are not novel, but Docker brings a new perspective to these old ideas. Docker encourages best practices like 12-factor applications, so what does the use of Docker change? Look at the following four areas.

The rise of micro-service architecture

Monolithic cloud application development has been eliminated and replaced by a micro-service architecture that splits large applications into smaller, destination-driven services that communicate through the common rest API.

In the 90 's, a similar concept was called an interface/component-based architecture, later, SOA seems to be gaining momentum, and now the concept of micro-servers has become a standard theme in the Docker community, and its tendency is to disassemble applications as decoupled, minimalist, and specialized containers designed to do a good job.

A fully encapsulated Docker container can provide micro services by creating an efficient distribution model for micro-service applications, which changes the cloud development practice model, making it possible to use a large architecture originally used on Facebook and Twitter for small development teams.

Make Dev and ops tighter

Although puppet, Chef, and salt have pioneered the DevOps movement, these tools are still more popular than developers in the operational dimension team.

Docker is the first DevOps tool that is equally popular among developers and shipping providers. Because the developer can work inside the container, the operational engineer can work in parallel outside the container.

When the development team adopted Docker, they added a new agile layer to the software development lifecycle. The biggest difference is consistency, which is based on Docker applications that can run on laptops like development phases. Because Docker encapsulates all the state of the application, you do not have to worry about management or bug problems caused by the differential flaw in the underlying operating system.

Ensure continuous integration consistency

By automatically testing your code for continuous integration is a great way to reduce the number of bugs in your final product, but there are two major drawbacks to continuous integration.

First, it is difficult to encapsulate all dependencies. Traditional CI (continuous integration)/CD (continuous delivery) technology such as Jenkins or Travis due to binary dependencies or os-level changes, resulting in a slight discrepancy between the development phase and the DEV/TEST/QA phase of the code, Docker encapsulates the state of the entire application, which makes the code run exactly the same in the DEV/TEST/QA and development phases.

Second, continuous integration is not built for a micro-service architecture. CI is built on the assumption that an app is located in a code base. However, Docker best practices encourage the micro-service architecture to be loosely coupled with the various Docker containers, so that new CI/CD tools drone and shippable are built based on the Docker container. These tools allow you to extract applications that test multiple containers from multiple code repositories.

Best Container Synergy

Not to change your own service containers such as Hadoop, Nginx or Mongodb,docker encourage open source communities to collaborate and fine-tune containers on the Docker hub. Because Docker can encapsulate states, they give you more flexibility in configuring software to keep it running optimally.

As a result, Docker has changed cloud development practices by allowing anyone to take advantage of the best practices of the packaged community in the form of consolidating others ' containers. This is like Lego toys for cloud components, and it always comes together.

Lego Toys for cloud computing

The advent of new technologies has always been accompanied by the breaking of the current situation, Docker is rapidly changing the rules of the cloud and the field of cloud technology, it changed the CI/CD, micro-services, open source collaboration, DevOps and other fields, Docker is also changing the application development lifecycle and cloud engineering practice. Every day, thousands of developers happily refactor or build new Docker based apps. Understanding Docker has become a key factor in the competitiveness of businesses or individuals in a world of intense change.

Original link: 4 ways Docker fundamentally changes creator development (Compile/Wei revisers/Zhonghao)

A new ecology is rapidly forming. This time we are in sync with the world. October 18 2014 Container Technical Conference (Container conference 2014) held in Beijing Zhongguancun Software Park. We are trying to cover the whole ecology of Docker, and we are going to invite a number of lecturers to speak it through and provide practical help to developers who are interested in innovating in Docker technology.

Series of interview articles:

Docker Best Practices! 2014 Container Technical Conference

Docker will participate in the First China Container Technical Conference (the first issues announced) for the 40 million dollar C round financing.

Google kubernetes exclusive interview: The future bigtable development is only after-school exercises

"Lecturer" beijing-based: Application and evolution of container technology in cloud foundry

If you need more information about Docker or technical documentation to access the Docker technology community, if you have more questions, please put it in the Dcoker Technical Forum and we will invite experts to answer. Purchase tickets and other issues can be consulted QQ group: 303806405.

Free Subscription "CSDN cloud Computing (left) and csdn large data (right)" micro-letter public number, real-time grasp of first-hand cloud news, to understand the latest big data progress!

CSDN publishes related cloud computing information such as virtualization, Docker, OpenStack, Cloudstack, data center,     sharing Hadoop, Spark, Nosql/newsql, HBase, Impala, Large data viewpoints, such as memory calculation, stream computing, machine learning and intelligent algorithms, provide services such as cloud computing and large data technology, platform, practice and industry information.       &NBSP

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.