欢迎使用CSDN-markdown编辑器

来源:互联网 发布:在vb中chr是什么意思 编辑:程序博客网 时间:2024/06/03 11:10

微服务架构学习

目录:
- 概念
- 架构模式
- 开发、部署与运维


概念

In short, the microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies.

简单地说,Microservice架构模式就是将整个Web应用组织为一系列小的Web服务。这些小的Web服务可以独立地编译及部署,并通过各自暴露的API接口相互通讯。它们彼此相互协作,作为一个整体为用户提供功能,却可以独立地进行扩容。
1) Martin Fowler的微服务是第一篇详细介绍微服务的文章。文中对微服务进行了定义,并与传统的整理式的架构进行了对比,阐述了微服务的优势。但是文章并没有对微服务进行精确定义,也没有深入剖析,所以在社区中引起了广泛讨论,Hacker News上的评论就相当精彩。部分中文翻译可以参考此文。

3) David的微服务系列文章介绍了微服务的概念、微服务的使用场景、微服务不适合的场景以及微服务架构下系统的测试方法。

微服务图文解释:
这里写图片描述
理解:多个EC2实例服务注册到负载均衡,当某个EC2实例挂掉之后,负载均衡就会把这个服务从注册表中删掉。
待更新。。。。。
这里写图片描述
这里写图片描述

更多:
微服务学习资料汇总

架构模式

我所知介绍3种:1.  Nginx 微服务架构参考模型  2. AWS亚马逊云3. Spring cloud微服务

开发部署与运维

待更新

0 0
原创粉丝点击