Spring Cloud Alibaba-MyShop-项目介绍
本节视频
开发环境
- 操作系统:Windows 10 Enterprise
- 开发工具:Intellij IDEA
- 数据库:MySQL 8.0.13
- Java SDK:Oracle JDK 1.8.152
部署环境
- 操作系统:Linux Ubuntu Server 16.04 X64
- 虚拟化技术:VMware + Docker
项目管理工具
- 项目构建:Maven + Nexus
- 代码管理:Git + GitLab
- 镜像管理:Docker Registry
后台主要技术栈
- 核心框架:Spring Boot + Spring Cloud Alibaba
- ORM 框架:tk.mybatis 简化 MyBatis 开发
- 数据库连接池:Alibaba Druid
- 数据库缓存:Redis Sentinel
- 消息中间件:RocketMQ
- 接口文档引擎:Swagger2 RESTful 风格 API 文档生成
- 全文检索引擎:ElasticSearch
- 分布式链路追踪:SkyWalking
- 分布式文件系统:Alibaba OSS
- 分布式系统网关:Spring Cloud Gateway
- 分布式协调系统:Spring Cloud Alibaba Nacos Server
- 分布式配置中心:Spring Cloud Alibaba Nacos Config
- 分布式熔断降级:Spring Cloud Alibaba Sentinel
- 反向代理负载均衡:Nginx
前后分离
- 前端框架:NodeJS + Vue + Axios
- 前端模板:iview
持续集成
- 持续集成:GitLab
- 持续交付:Jenkins
拓扑结构
服务规划
Cloud
| 服务名称 | 服务端口 | 服务说明 |
|---|---|---|
| MySQL | 192.168.10.150:3306 | MySQL 8.x,1G |
| GitLab | 192.168.10.132:8080 | 代码托管/持续集成,2G |
| Nexus | 192.168.10.146:8081 | 依赖管理,2G |
| Docker Registry | 192.168.10.139:8080 | 镜像管理,1G |
| Jenkins | 192.168.10.135:8080 | 持续交付,1G |
| SkyWalking | 192.168.10.148:8080 | 链路追踪,2G |
| RocketMQ | 192.168.10.149:8080 | 消息队列,2G |
| 以下四个服务在在同一台服务器,4G | ||
| Nacos | 192.168.10.151:8848 | 注册发现/配置中心 |
| Sentinel | 192.168.10.151:8080 | 熔断降级 |
| Redis | 192.168.10.151:26379 | 数据缓存 |
| Nginx | 192.168.10.151:80 | 反向代理/负载均衡 |
Services
| 服务名称 | 服务端口 | 服务说明 |
|---|---|---|
| 以下为通用服务 | ||
| myshop-service-gateway | 9000 | 服务网关 |
| myshop-service-reg | 9501 | 用户注册 |
| myshop-service-sso | 9502 | 单点登录 |
| myshop-service-cache | 9503 | 缓存服务 |
| myshop-service-oss | 9504 | 文件上传 |
| myshop-service-forget | 9505 | 忘记密码 |
| myshop-service-search | 9506 | 全文检索 |
| myshop-service-email | 9507 | 邮件服务 |
| 以下为服务提供者 | ||
| myshop-service-provider-content-category | 10101 | 内容分类提供者 |
| myshop-service-provider-content | 10102 | 内容服务提供者 |
| myshop-service-provider-item-cat | 10103 | 商品分类提供者 |
| myshop-service-provider-item-desc | 10104 | 商品详情提供者 |
| myshop-service-provider-item | 10105 | 商品服务提供者 |
| myshop-service-provider-order | 10106 | 订单服务提供者 |
| myshop-service-provider-order-item | 10107 | 订单项提供者 |
| myshop-service-provider-order-shipping | 10108 | 购物车提供者 |
| 以下为服务消费者 | ||
| myshop-service-consumer-content-category | 10201 | 内容分类消费者 |
| myshop-service-consumer-content | 10202 | 内容服务消费者 |
| myshop-service-consumer-item-cat | 10203 | 商品分类消费者 |
| myshop-service-consumer-item-desc | 10204 | 商品详情消费者 |
| myshop-service-consumer-item | 10205 | 商品服务消费者 |
| myshop-service-consumer-order | 10206 | 订单服务消费者 |
| myshop-service-consumer-order-item | 10207 | 订单项消费者 |
| myshop-service-consumer-order-shipping | 10208 | 购物车消费者 |
作者:撸帝
链接:https://www.jianshu.com/p/a41c8bdaedcc
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
Spring Cloud Alibaba-MyShop-项目介绍的更多相关文章
- 阿里巴巴开源 Spring Cloud Alibaba,加码微服务生态建设
本周,Spring Cloud联合创始人Spencer Gibb在Spring官网的博客页面宣布:阿里巴巴开源 Spring Cloud Alibaba,并发布了首个预览版本.随后,Spring Cl ...
- Spring Cloud Alibaba 从孵化到 "挂牌" 之旅
背景 2014 年,Spring Boot 1.0 发布.Spring Boot 的发布绝对是 Pivotal 历史上具有里程碑意义的事件,它让我们能够非常简便地开发 Spring 应用,屏蔽了各种配 ...
- 厉害了,Spring Cloud Alibaba 发布 GA 版本!
? 小马哥 & Josh Long ? 喜欢写一首诗一般的代码,更喜欢和你共同 code review,英雄的相惜,犹如时间沉淀下来的对话,历久方弥新. 相见如故,@杭州. 4 月 18 日, ...
- Spring Cloud Alibaba迁移指南(一):一行代码从 Hystrix 迁移到 Sentinel
摘要: 本文对Hystrix.Resilience4j.Sentinel进行对比,并探讨如何使用一行代码这种极简的方式,将Hystrix迁移到Sentinel. Hystrix 自从前段时间 宣布停止 ...
- Spring Cloud Alibaba Nacos 服务注册与发现功能实现!
Nacos 是 Spring Cloud Alibaba 中一个重要的组成部分,它提供了两个重要的功能:服务注册与发现和统一的配置中心功能. 服务注册与发现功能解决了微服务集群中,调用者和服务提供者连 ...
- Spring Cloud Alibaba(二) 配置中心多项目、多配置文件、分目录实现
介绍 之前Spring Cloud Config基础篇这篇文章介绍了Spring Cloud Config 配置中心基础的实现,今天继续聊下Spring Cloud Config 并结合nacos做服 ...
- Spring 社区的唯一一个国产开源项目 - Spring Cloud Alibaba 毕业了
阿里妹导读:一年多前,Java 界最近发生了一件大事,阿里开源 Spring Cloud Alibaba,并推出首个预览版.Spring Cloud 本身是一套微服务规范,并不是一个拿来即可用的框架, ...
- Spring Cloud Alibaba(2)---RestTemplate微服务项目
RestTemplate微服务项目 前言 因为要运用 Spring Cloud Alibaba 开源组件到分布式项目中,所以这里先搭建一个不通过 Spring Cloud只通过 RestTemplat ...
- Spring Cloud Alibaba 介绍及工程准备
简介 SpringCloud Alibaba是阿里巴巴集团开源的一套微服务架构解决方案. 微服务架构是为了更好的分布式系统开发,将一个应用拆分成多个子应用,每一个服务都是可以独立运行的子工程.其中涵盖 ...
- Spring Cloud Alibaba基础教程:Nacos的集群部署
继续说说生产环境的Nacos搭建,通过上一篇<Spring Cloud Alibaba基础教程:Nacos的数据持久化>的介绍,我们已经知道Nacos对配置信息的存储原理,在集群搭建的时候 ...
随机推荐
- java的io字符流关闭和刷新.flush();
因为内置缓冲区的原因,如果不关闭输出流,无法写出字符到文件中. 但是关闭的流对象,是无法继续写出数据 的.如果我们既想写出数据,又想继续使用流,就需要 flush 方法了. flush :刷新缓冲区, ...
- Vue专题-生命周期
有时候,我们需要在实例创建过程中进行一些初始化的工作,以帮助我们完成项目中更复杂更丰富的需求开发,针对这样的需求,Vue提供给我们一系列的钩子函数. 本文详细介绍了Vue实例在创建和销毁的过程中,我们 ...
- POJ 3585 Accumulation Degree【换根DP】
传送门:http://poj.org/problem?id=3585 题意:给定一张无根图,给定每条边的容量,随便取一点使得从这个点出发作为源点,发出的流量最大,并且输出这个最大的流量. 思路:最近开 ...
- Python remove()和del语句 区别和辨析 列表删除操作
del语句可以删除列表中下标处的值,表中被删除值后后面的所有值将向前移动一个下标 spam = ['A','B','C','D','E'] del spam[2] spam 打印显示:['A', 'B ...
- Windows、Linux(Ubuntu)修改 pip 镜像源
一.Windows 修改 pip 镜像源 1.win + R 打开运行,输入 %APPDATA% 2.按下回车,打开文件夹. 3.在该文件夹下,新建文件夹,命名 pip. 4.进入 pip 文件夹, ...
- python通过wakeonlan唤醒内网电脑开机
首先需要pip3 install wakeonlan 然后在电脑需要你的网卡支持网络唤醒计算机. 然后在主板BIOS开启支持唤醒. 在系统网卡属性里选上“允许计算机关闭此设备以节约电源”,“允许此设备 ...
- Java实战——简介
由于下学期要学习JavaEE所以打算将JavaSE的知识再重新学习一遍,打好基础的同时也希望自己有新的收获和更深刻的理解. 这次复习主要是参考廖雪峰老师的java教程,每学习完一章对其中一些要点进行总 ...
- [USACO09OCT]谷仓里的回声Barn Echoes(hush、STL)
https://www.luogu.org/problem/P2957 题目描述 The cows enjoy mooing at the barn because their moos echo b ...
- 论文翻译——Character-level Convolutional Networks for Text Classification
论文地址 Abstract Open-text semantic parsers are designed to interpret any statement in natural language ...
- C# 元组
Tuple<,); Console.WriteLine(t.Item1); Console.WriteLine(t.Item2); C#7 可以使用圆括号声明一个元组: (); Console. ...