The first step in building microservices: Where does microservices come from?

Source: Internet
Author: User

Many people talk about " microservices " and are grappling with an old problem more than 20 years ago ; Particle size "; What is the " granularity" of microservices partitioning ?

More than 20 years , many people are taking a " Standard answer " ; particle size Span style= "font-family: ' Helvetica Neue '"; In doing software development. Unfortunately, when you have been using the so-called " Standard answer in software development You are always using the so-called " wrong answer " The is doing software development.

How to identify " microservices "that can adapt to change, focusing not on what is " atom "? What is not " atom "? The real focus is to have methodology, practice from the following two facing to think, the depth of thinking ; Instead of just taking the surface of the definition of a hard sleeve ...

① If you've decided to use Docker to host your microservices, you need to understand the limits of how Docker is running. where's Docker's pit ? This information (knowledge) will be the input you need to design your microservices architecture.

② according to the external user's perspective, divide the " core business Span style= "font-family: ' Helvetica Neue '" > "bounded Context" . According to core business Span style= "font-family: ' Helvetica Neue '" > bounded Context with The schema constraint obtained by ① identifies " core business microservices .

In each PI , according to the core business micro-services in operations and external business changes, the continuous " Evolution " of more micro-services.

Software development is always a process of Evolution (learning) . Software development, never a standard answer ...

Therefore, software development even in the era of micro-services, it must be the continuous " Evolution " of the way , the depth of thinking , how to build a micro- service architecture ...

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

The first step in building microservices: Where does microservices come from?

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.