轻量级微服务架构与设计实战

轻量级服务架构与设计实战

版权声明:本文为笔记里的蹉跎出品,文章可共享,转载请声明。

本文主要内容:
- 1.服务架构设计概述
- 2.服务技术构建
- 3.服务网关实战
- 4.服务设计与实现
- 5.服务封装实战
- 6.服务部署实战
- 7.实战总结


1.服务架构设计概述

he term “Microservice Architecture” has sprung up over the last few years to describe a particular way of designing software applications as suites of independently deployable services. While there is no precise definition of this architectural style, there are certain common characteristics around organization around business capability, automated deployment, intelligence in the endpoints, and decentralized control of languages and data. —— [ 摘自马丁·福勒先生的博客]

微服务架构模式(Microservice Architect Pattern)是近两年在软件架构模式领域出现的一个新名词。

微服务架构是一种架构模式,它提倡将单一应用程序划分成一组小的服务,服务之间互相协调、互相配合,为用户提供最终价值。每个服务运行在其独立的进程中,服务与服务间采用轻量级的通信机制互相沟通(通常是基于HTTP的RESTful API)。每个服务都围绕着具体业务进行构建,并且能够被独立地部署到生产环境、类生产环境等。另外,应尽量避免统一的、集中式的服务管理机制,对具体的一个服务而言,应根据业务上下文,选择合适的语言、工具对其进行构建。

2.服务技术建模

2.1 服务开发技术 模型:

技术名称技术描述技术名称技术官网
Spring BootSpring Boot 开发服务http://projects.spring.io/spring-boot/
ZookeeperZookeeper 注册服务https://zookeeper.apache.org/
Node.JsNode.Js 调用服务https://nodejs.org/en/
JenkinsJenkins 部署服务https://jenkins.io/index.html
WildFly SwarmWildFly Swarm 开发服务http://wildfly.org/news/2015/05/05/WildFly-Swarm-Released/
KumuluzEEKumuluzEE 开发服务http://ee.kumuluz.com/
RestFulRESTful API 开发服务http://www.ruanyifeng.com/blog/2014/05/restful_api.html
DockerDocker 封装服务https://www.docker.com/

以上的服务都以Java 开发技术为开发环境。

2.2 服务开发技术 模型:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值