Introduction
What is Docker
Docker is an open source project that was born in early 2013 and was originally an amateur project within the DotCloud company. It is based on Google's launch of the Go language implementation. The project later joined the Linux Foundation and complied with the Apache 2.0 protocol, and the project code was maintained on GitHub.
Docker
The 1th chapter first Knowledge Micro ServiceMicro-service, we start from the traditional single structure, to see what kind of environment and needs to step into the micro-service, and then specifically to understand what is the micro-service, so that the concept of micro-services have a deep understanding. Then we draw together a micro-service architecture diagram, and then from the architecture to analyze the advantages and disadvantages of the micro-service architecture. ...1-1
How to use Windows version Docker and use Docker to run Spring Cloud project in IntelliJ Idea # #: Prerequisite Preparation1.1 First please make sure your computer is WINDOWS10 Pro or Enterprise Edition, only these two versions are only available with Hyper-V#2: IntroductionIn the past, if we wanted to use Docker on Windows, we used virual box to create virtual m
Four Docker containers and four docker containersAfter using Docker to create a container, you are concerned about how to enter the container. In fact, there are several ways to enter the Docker container, here we will talk about several common methods to enter the Docker co
About Spring CloudSpring Cloud is a spring boot-based cloud application development tool for configuration management, service discovery, circuit breakers, intelligent routing, micro-agents, control buses, global locks, decision-making campaigns, Operations such as distributed sessions and cluster state management provide a simple way to develop.Spring Cloud contains multiple sub-projects (for many different open source products involved in distributed systems), such as spring Cloud Config, Spri
Spring Cloud Config is a new project created by the spring Cloud team to provide centralized external configuration support for infrastructure and microservices applications in distributed systems, which are divided into two parts: server and client. The server, also known as the Distributed Configuration Center, is a standalone microservices application that connects to the configuration warehouse and prov
Spring Cloud Config is a new project created by the spring Cloud team to provide centralized external configuration support for infrastructure and microservices applications in distributed systems, which are divided into two parts: server and client. The server, also known as the Distributed Configuration Center, is a standalone microservices application that connects to the configuration warehouse and prov
1. Distributed
A large system is divided into several business modules, and the business modules are deployed to different machines, and each business module interacts with the data through the interface. The difference between distributed methods is based on different machines and different businesses.
above: Service A, B, C, D are business components, business access through API Geteway, respectively.
Note: Distributed needs to do transaction management.
Distributed transactions can be
"monomer" applications, but more on the "vertical layering" of the overall business. Regardless of the horizontal or vertical points, the essence of "points" is actually because of "heavy". "Divide and conquer" should be regarded as the most basic human thinking logic. But the concrete realization of the "points" is also attributed to the question of what is standing on our opposite side. The internet is the main thrust of the "business" from the offline to the line, in the initial development
The Evolution of website Architecture Web site in different stages encountered the problem is not the same, and solve these problems using the same technology, the traffic is small, our main purpose is to improve development efficiency, in the early to introduce Orm,dao these technologies. As the flow becomes larger, the stability of the website is continuously improved by using static and dynamic separation, read/write separation, master-slave synchronization, vertical splitting, CDN, MVC
"Editor's note" This is the third article that uses a microservices architecture to create its own application series. The first article introduces the microservices architecture pattern, compares it to the singleton pattern, and discusses the pros and cons of using a microservices architecture. The second article describes how to use the API gateway approach to
What is micro-service? The traditional single service architecture is a separate service package, sharing code and data, development cost is high, maintainability, scalability is poor, technology transformation, cross-language cooperation is relatively difficult. While the MicroServices architecture emphasizes that a service is responsible for a business, the service can be deployed separately, the technology is selected and developed independently, t
Some Questions about learning
How do I heat update mirrors (images)? (You can quickly start or destroy the container.) This time is almost real-time.
How to hot update the game suit?
The advantage is that the environment of each application is independent of each other, even if a container crashes will not affect other containers;
How do you maintain each container using ports? (Method 1 is written in dockerfile, not flexible; Method 2 is specified at run time);
That way, ther
This is a creation in
Article, where the information may have evolved or changed.
Note:this Post is originally written for the Go Advent series, but I discovered that a post with almost exactly the Same subject (and even similar code!) already planned:) That ' s amazing.
Golang is often used for writing microservices and various backends. Often These type of software do some computation, read/write data on external storage and expose it ' s API via HT
Last article we successfully installed Docker under Windows and exported a simple Hello World program. In this article we will use Docker's existing cloud image Training/webapp to publish a simple Python web program that outputs Hello World in a browser.The test environment for this article is Docker under Windows7, and use cases are based on official document use cases.one: From running a simple Python Web
At the weekend at home research Spring-boot, referring to some of the open source projects on GitHub, a rest microservices framework, take it to the people, for the people, on GitHub open source, the address is as follows:Https://github.com/yjmyzz/spring-boot-rest-frameworkThe main features are as follows:-----------------Data accessDAO uses MyBatis 3.3.0 + tk.mybatis generic Mapper3.1.3 to support transaction rollbackDatabase initialization ScriptSee
This is a creation in
Article, where the information may have evolved or changed.
Overview
GRPC is the Google Open source RPC framework, based on HTTP2 implementation, and supports cross-language, now basically covers the mainstream language. The implementation of cross-language is mainly due to the protobuf, by writing the proto file, and using the Protobuf tool to generate the corresponding language class library.
For a new language like go, the eco-chain is still in the development stage, as
At the weekend at home research Spring-boot, referring to some of the open source projects on GitHub, a rest microservices framework, take it to the people, for the people, on GitHub open source, the address is as follows:Https://github.com/yjmyzz/spring-boot-rest-frameworkThe main features are as follows:-----------------Data accessDAO uses MyBatis 3.3.0 + tk.mybatis generic Mapper3.1.3 to support transaction rollbackDatabase initialization ScriptSee
Original source: http://blog.didispace.com/springcloud2/In the previous article, "Spring Cloud Building MicroServices Architecture (a) service registration and discovery", we have successfully created a "service registry", Implementing and registering a "service provider: Compute-service". So how do we go about consuming the interface content of a service provider?RibbonThe Ribbon is a load balancer based on HTTP and TCP clients. The feign also uses t
partners. Everyone is eager to do things in the state of extremely peer-to-peer information. These are my most idealistic ideas. When I recognize this idealized real-time, I know that what I want to do is not passively "encounter" a team, instead, we take the initiative to "build" such a team. I can use the "receive drive design" concept to reduce the loss caused by business transfer in the project process. I can also use "agile means" to reduce unnecessary error understandings, I can also achi
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.