"Is not micro-Taiwan service? What's the difference?"

Click on " technology leadership " concern Δ every day at 8:30 am Push  

When communication with peers, people often ask: in Taiwan is not micro-services? Are based on service oriented approach provides the ability of foreign, old wine in new bottles Well, the concept of speculation only.

This was in fact confused the definition of micro station and services, make it clear this problem, we must first understand what is in Taiwan? What is micro-services? What kind of relationship between the service station and the micro?

01

What in Taiwan that?

Definition of Taiwan

Definitions from Ali official, "enterprise units is the company's core competencies with business development in digital form precipitation to the platform, to form a service center, built by the Taiwan business units and the data from the data closed-loop operation operations system for companies to conduct business more efficient exploration and innovation, in the form of digital assets to build their core competitive differentiation. "

640?wx_fmt=png

Ali's NTU shared about a dozen business units, including user center, shopping center, trading center. Taobao, Lynx, poly cost-effective business applications and other 25 major business units are supported by the Chinese and sharing platform, and share business unit by Ali cloud platform support.

Share dividing business unit principle can not really grasp the simple, comprehensive consideration to the design, operation and engineering factors, follow the "high cohesion, low coupling" as far as possible, "data integrity", "business can operate" and "progressive" in in principle.

Ali in the division in Taiwan attaches great importance to its business value and service-based design, but also business structure positions, each share unit has business architects. But generally speaking, it is still business structure of the field.

On behalf of the enterprise

Taiwan enterprises was first used by Ali proposed in 2015, namely Zhang Yong Happy child advocate "medium and large units, small reception" strategy, "Data + dual business in Taiwan" and so on.

Methodology in Taiwan

640?wx_fmt=jpeg

Ali in Taiwan methodology, including:

First, how to build the station?That is, the domain modeling, service granularity split, extract the key principles of business, organizational and cultural adaptation, and so on.

Second, how to control the station?Taiwan is the operating platform, which is mainly decomposed by the protocol standard, the ability to map business needs structure, global business identity, business panorama, business metrics, and the like. It allows us to have a place to see the big picture, to control the details.

Third, how evolutionary stage?Like any evolution of a technology architecture in Taiwan also we need to keep an iterative, evolutionary, middle depth of thought among integrated into everyday business, to create a strong background artillery group, better support for front-office rapid response.

Architecture technology in Taiwan

640?wx_fmt=jpeg

Our technology Ali Taiwan, for example, inside the Ali Group, all business units, the front desk, a shared technology platform base, maximize the value of Ali many years of precipitation technology, providing more stable, more flexible technology architecture support.

640?wx_fmt=jpeg

(Source: Ali Technical Reference Atlas)

Ali technical capacity in Taiwan, is to use the cloud or other infrastructure, and the ability to use a variety of techniques middleware, integration and packaging. Filter out the technical details, providing simple and consistent, rapid build capacity interfaces, help desk reception and business data applications technology infrastructure in an easy to use platform.

Ali technologies in Taiwan, including:

Flow Calculation

  • JStorm is a distributed real-time computing engine, scheduler allocates a hosting worker to run the task, the task the whole life cycle.

Distributed Storage

  • Tair (Key / Value data storage system architecture)
  • (OLAP analytical database products distributed mass data scene) Histore
  • Hbase
  • TFS (distributed file storage).

Distributed database

  • TDDL (intermediate distributed database)
  • Jingwei (named after "Jingwei", based on MySQL database data replication components)
  • Foolish Old Man (automatic data migration engine, heterogeneous data sources migrated)
  • SchedulerX (distributed task scheduling).

News

  • Notify
  • MeteQ

Distributed Services

  • HSF ( High Speed Framework, distributed service framework, then the internal Ali chose to HSF, abandoned Dubbo ).

Load Balancing

  • Tengine (Nginx is based on the development of lightweight open-source Web server, the core system as Alibaba seven traffic entrance).

Application container

  • Pandora (Taobao middleware team to create, isolated container isolation technology based on a new generation of HSF constructed).

Soft load & Configuration Center

  • ConfigServer (the main provider of non-persistent publish and subscribe configuration)
  • Diamond (is a persistent configuration management middleware can be achieved in a distributed scenario, centralized configuration management of persistence, but also supports dynamic changes push-based publish-subscribe model configuration)
  • VipServer (pivot days, centralized configuration provides routing information to the client, load balancing to form a non-gateway)
  • Zookeeper。

Distributed Link Tracking & basic data

  • EAGLEYE (Eagle Eye, call log Buried on different networks through intermediate collection and analysis may be obtained with a call chain on the relationship between the various system requests help call request source inlet comb applications and services, dependencies)
  • TLOG (a distributed, reliable, large amounts of data collection, analysis, presentation of the system).

02

What micro service?

The definition of micro services

Micro Services Architecture monomer applications, in accordance with the split into multiple small service business high cohesion and low coupling, each small service runs in a separate process, by a different team development and maintenance, the use of lightweight communication mechanism between service , such as HTTP RESTful API, or the RPC, independent automatic deployment, and may be stored in different languages.

Micro service reflects decentralized, distributed natural, the station is strategic ground to a specific implementation of the technical architecture of IT systems used to solve the system's resilience when faced with the rapid development of innovative enterprise business scalable, agile iterative, technology-driven business innovation and other problems.

Micro-service problem solving

Traditional single application has many limitations, extend the application with additional iteration, functional business requirements, and ultimately become a monster. Application limitations monomers generally include the following:

High complexity : business size and scale of the development team of a certain stage, the module coupling severe, difficult to understand the code, quality deteriorates.

Low efficiency of delivery : build and deploy time-consuming, difficult to locate the problem, the development of low efficiency, the deployment of the full amount of time-consuming, affecting a wide range, high risk, low frequency of publication.

Poor scalability : monomer whole can only expand laterally, not vertically extended sub-module.

Poor reliability : a bug may lead to collapse of the entire application.

Impede technological innovation : by the technology stack limit, team members use the same framework and language.

Technical characteristics of micro-services architecture

Ease of Development and Maintenance : Micro service is relatively small and easy to understand;

Independent deployment : Modify the service does not require a micro coordinate other services;

Strong scalability : Each service can request an independent hardware resource expansion;

Match the organizational structure : micro-services architecture can be better matched to the architecture and organization, independent of each team is responsible for some services, access to higher productivity;

Technical heterogeneity : the use of technology is best suited for the service, reduce costs and try new technologies;

The special requirements of an enterprise environment : decentralized and centralized control balance / governance, corporate balance distributed database and data model of a closed loop.

03

Middle and micro services What is the relationship?

Review concepts:

Taiwan in architecture , simply put, is the enterprise-class capabilities of multiplexing, one kind of methodology, ideology corporate governance.

Micro service , is an independent development, maintenance, deployment of small business units, is a technology architecture approach.

Seen in Taiwan is not a micro-services, the station is a corporate governance thinking and methodology, micro-service technology architecture approach .

In Taiwan of the floor, it requires the use of micro-services architecture

Taiwan emphasized in construction, infrastructure capacity in the form of core infrastructure capacity to build atomic services, and a variety of rapid iteration and innovation scene by atomic service products, supporting business end; atomic services and micro-services advocated by the closed loop self-service ideas coincide, making it a suitable micro-service architecture for atomic services.

Application support business scenarios are also achieved by the service, its life cycle with the business changes need to be very flexible to adjust, which also serve to emphasize and micro rapid iteration highly consistent, so the service is also suitable for business applications implemented by micro-services.

System construction in Taiwan is not easy, and requires long-term dynamics of evolution, coupled with its technology system has been proven in the field of Internet and quite mature, it landed in the enterprise, the soil has been executed.

04

This article Summary of Key Points

  • Taiwan in architecture, simply put, is the enterprise-class capabilities of multiplexing, one kind of methodology, ideology corporate governance.

  • Micro service, is an independent development, maintenance, deployment of small business units, is a technology architecture approach.

  • In Taiwan is not a micro-services, the station is a corporate governance thinking and methodology, micro-service technology architecture approach.

  • In Taiwan of the floor, require the use of micro-service architecture, built in Taiwan by the micro-architecture service architecture needed for atomic services, its core is service design principles and ideas.

Reference article:

We look at:



Published 165 original articles · won praise 954 · views 320 000 +

Guess you like

Origin blog.csdn.net/yellowzf3/article/details/103046573