directory
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Feb 25, 2023
License: MIT
Opens a new window with license information.
README
¶
微服务相关技能
只有一个服务(单体服务), 模块之前如何调用:
- 统一内部函数, 内部接口(进程内通信)
- 访问数据: 直接访问数据库(不建议这样操作)
一个业务, 由多个服务功能来完成, 服务间通信(blog --> tag), 需要要架构设计
- RPC: 远程调用 Request/Response, 1
- 消息队列: 异步通信, 消息的订阅, 1
- 服务注册与发现: 找到目标都是一个问题, 1
- 服务的网关: 统一的对外入库(Web --> 微服务), Traefik 0
- 服务的配置: 多个服务的配置(用得不同库, ), 基于k8s的ConfigMap来做配置 0
Directories
¶
rpc
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.