|
| 1 | +# 项目介绍 |
| 2 | + |
| 3 | +## 项目描述 |
| 4 | + |
| 5 | +12306项目是一个关键的系统,与广大民众的生活和出行息息相关,它不仅包括列车时刻表查询、火车票购买、车票订单管理、车票改签和退票、预约抢票、会员服务、支付、用户管理等多个方面,还涉及到了缓存、消息队列、分库分表等技术在背后支撑着整个系统的高效运行。 |
| 6 | + |
| 7 | +此外,12306的售票服务时间也有所调整,以更好地满足旅客的需求。同时,12306也是学习分布式系统设计的好案例,尤其适合对高并发、分布式系统感兴趣的学习者。通过研究12306项目的架构和技术实现,可以深入理解分布式系统设计的原则和核心知识点。 |
| 8 | + |
| 9 | +该项目提供了如下2种版本,学习者根据自身使用需求和实际场景需要,可选择合适的版本学习。 |
| 10 | + |
| 11 | + - SpringBoot版本:可以直接启动,适合学习springBoot的学习者用于测试和部署。 |
| 12 | + |
| 13 | + - SpringCloud版本:适合学习者学习微服务架构设计,了解微服务的常用组件,如注册中心、配置中心、熔断限流、服务声明式调用、链路追踪等组件。 |
| 14 | + |
| 15 | +## 业务功能 |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +## 技术架构选型 |
| 20 | + |
| 21 | +### 后端技术栈: |
| 22 | +| 技术 | 名称 | 版本 | 网址 | |
| 23 | +|:--------------------------|:---------------:|---------------:|-------------------------------------------------| |
| 24 | +| Spring Boot | 基础框架 | 3.0.x | https://spring.io/projects/spring-boot | |
| 25 | +| SpringCloud Alibaba | 分布式框架 | 2022.0.0.0-RC2 | https://github.com/alibaba/spring-cloud-alibaba | |
| 26 | +| SpringCloud Gateway | 网关 | 2022.0.3 | https://spring.io/projects/spring-cloud-gateway | |
| 27 | +| MyBatis-Plus | 持久层框架 | 3.5.3.x | https://baomidou.com | |
| 28 | +| Redis | 分布式缓存数据库 | Latest | https://redis.io | |
| 29 | +| RocketMQ | 异步消息 | 2.2.x | https://rocketmq.apache.org | |
| 30 | +| ShardingSphere | 数据访问层框架 | 5.3.x | https://shardingsphere.apache.org | |
| 31 | +| FastJson2 | 序列化工具 | 2.0.36 | https://github.com/alibaba/fastjson2 | |
| 32 | +| Canal | BinLog 订阅组件 | 1.1.x | https://github.com/alibaba/canal | |
| 33 | +| HuTool | 工具包类库 | 5.8.x | https://hutool.cn | |
| 34 | +| Maven | 项目构建工具 | 3.9.x | http://maven.apache.org | |
| 35 | +| Redisson | Rediss客户端 | 3.21.3 | https://redisson.org | |
| 36 | +| Sentinel | 熔断限流框架 | 1.8.6 | https://github.com/alibaba/Sentinel | |
| 37 | +| XXL-Job | 分布式调度平台 | 2.4.0 | http://www.xuxueli.com/xxl-job | |
| 38 | +| TTL | 增强版 ThreadLocal | 2.14.3 | https://github.com/alibaba/transmittable-thread-local| |
| 39 | +| Hippo4j | 动态线程池框架 | 1.5.0 | https://hippo4j.cn | |
| 40 | + |
| 41 | + |
| 42 | +### 前端技术栈: |
| 43 | + |
| 44 | +| 技术 | 名称 | 版本 | 网址 | |
| 45 | +|-------|-----------|-------|---| |
| 46 | +| JS 框架 | Vuejs | 3.2.x | https://cn.vuejs.org | |
| 47 | +| UI 组件 | Element-UI | 2.13 | https://element.eleme.io/2.13/ | |
| 48 | +| Ajax 请求 | Axios | 1.4.0 | https://axios-http.com/ | |
| 49 | +| 路由 | Vue-router | 4.0.3 | https://router.vuejs.org/ | |
| 50 | +| 脚手架 | Vue-cli| 5.0.8 | https://cli.vuejs.org/| |
| 51 | + |
| 52 | + |
| 53 | +## 项目文档 |
| 54 | + |
0 commit comments