系统设计与工程搭建

学习目标

了解十次方的需求分析

理解十次方的系统设计已经REST请求

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

完成项目前期准备工作

完成十次方父模块与公共模块的搭建

完成基础微服务-标签CRUD的功能,掌握公共异常处理类

1.需求分析

1.1 十次方简介

 《十次方》是程序员的专属社交平台,包括头条、问答、活动、交友、吐槽......

1.2需求规格说明书

2.系统设计

2.1系统架构

《十次方》采用前后端的系统架构,后端架构为:SpringBoot+SpringCloud+SpringMVC+SpringData 我们把这种架构称为全家桶

2.2模块划分

我们的十次方工程分为18个子模块(其中17个微服务)

本章内容是搭建父工程、公共子模块tensquare_common和基础微服务tensquare_base

模块名称 模块中文名称
tensquare_common 公共模块
tensquare_article 文章微服务
tensquare_base 基础微服务
tensquare_friend 交友微服务
tensquare_gathering 活动微服务
tensqueare_qa 问答微服务
tensquare_recruit 招聘微服务
tensquare_user 用户微服务
tensquare_spit 吐槽微服务
tensquare_search 搜索微服务
tensquare_web 前台微服务网关
tensquare_manager 后台微服务
tensquare_eureka 注册中心
tensquare_config 配置中心
tensquare_sms 短信微服务
tensquare_article_crawler 文章爬虫微服务
tensquare_user_crawler 用户爬虫微服务
tensquare_ai 人工智能微服务

 

 

 

 

 

 

 

 

 

 

 

 

 

 2.3表结构分析

采用分库分表设计,每个业务模块为 1 个独立的数据库

tensquare_article 文章

tensquare_base 基础

tensquare_friend 交友

tensquare_qa 问答

tensquare_user 用户

tensquare_spit 吐槽

2.4API文档

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄