微服务
2023-05-16 07:57:21 0 举报
微服务架构
作者其他创作
大纲/内容
Eureka
Index
Support ten thousand level concurrencyLoad Balance: Polling Weight IP_Hash: 解决登录消息消失的问题
Field
1. Database cache (cache breakdown.. Jmeter)2. Distributed locks (Redisson)3. Distributed session (cookie) master: write slave: read
Content
Vue
Mysql
Git(Config-Server)
- 认证接口: UserDetailService- 认证返回实体类接口: UserDetails- 认证失败接口: AuthenticationEntryPoint- 登录授权接口: OncePerRequestFilter ( Redis 存储token )- 权限不满足失败接口: AccessDeniedHandler
事务管理: Tx-LCN框架
分库分表: Mycat / Sharding - Sphere
CSS
管理配置文件
Linux 系统
HTML
Tkmapper/mybatis
Hystrix
P
//查询索引中的所有数据(type使用默认的名称即可)POST index3/_doc/_search
ElasticSearch
微服务方案二选一
C
Axios
Document
先降级后熔断用DashBoard来监控
SpringSecurity / Shiro
需要Redis配合
Nginx
减少数据库压力
Redis
集群: cluster注册中心: Register Center降级: fallback熔断: break 熔断器: Circuit Breaker
SpringCloud
数据安全
GateWay/Zuul
①: Each column is an indivisible atomic data item②: Non-code attributes must depend entirely on code③: Any non-code attribute does not depend on other non-code attributes
Ajax
JavaScript
Feign/Ribbon
ZipKin-sleuth(watch)
RabbitMQ
Type
A服务
认证: Authentication授权: Authorization
部署: Docker / K8s
0 条评论
回复 删除
下一页