diff --git a/README.md b/README.md index 02c2f4dc..1235dc24 100644 --- a/README.md +++ b/README.md @@ -211,10 +211,10 @@ #### RPC -让调用远程服务调用像调用本地方法那样简单。 +RPC 让调用远程服务调用像调用本地方法那样简单。 -1. [Dubbo 总结:关于 Dubbo 的重要知识点](docs/system-design/data-communication/dubbo.md) -2. [服务之间的调用为啥不直接用 HTTP 而用 RPC?](docs/system-design/data-communication/why-use-rpc.md) +1. [Dubbo 总结:关于 Dubbo 的重要知识点](docs/system-design/distributed-system/rpc/关于Dubbo的重要知识点.md) +2. [服务之间的调用为啥不直接用 HTTP 而用 RPC?](docs/system-design/distributed-system/rpc/服务之间的调用为啥不直接用HTTP而用RPC.md) #### API 网关 @@ -246,9 +246,9 @@ 消息队列在分布式系统中主要是为了解耦和削峰。相关阅读: **[消息队列总结](docs/system-design/data-communication/message-queue.md)** 。 -1. **RabbitMQ** : [RabbitMQ 入门](docs/system-design/data-communication/rabbitmq.md) -2. **RocketMQ** : [RocketMQ 入门](docs/system-design/data-communication/RocketMQ.md)、[RocketMQ 的几个简单问题与答案](docs/system-design/data-communication/RocketMQ-Questions.md) -3. **Kafka** :**[Kafka 常见面试题总结](docs/system-design/data-communication/kafka-inverview.md)** +1. **RabbitMQ** : [RabbitMQ 入门](docs/system-design/distributed-system/message-queue/rabbitmq.md) +2. **RocketMQ** : [RocketMQ 入门](docs/system-design/distributed-system/message-queue/RocketMQ.md)、[RocketMQ 的几个简单问题与答案](docs/system-design/distributed-system/message-queue/RocketMQ-Questions.md) +3. **Kafka** :**[Kafka 常见面试题总结](docs/system-design/distributed-system/message-queue/kafka-inverview.md)** #### 读写分离 diff --git a/docs/system-design/data-communication/RocketMQ-Questions.md b/docs/system-design/distributed-system/message-queue/RocketMQ-Questions.md similarity index 100% rename from docs/system-design/data-communication/RocketMQ-Questions.md rename to docs/system-design/distributed-system/message-queue/RocketMQ-Questions.md diff --git a/docs/system-design/data-communication/RocketMQ.md b/docs/system-design/distributed-system/message-queue/RocketMQ.md similarity index 100% rename from docs/system-design/data-communication/RocketMQ.md rename to docs/system-design/distributed-system/message-queue/RocketMQ.md diff --git a/docs/system-design/data-communication/kafka-inverview.md b/docs/system-design/distributed-system/message-queue/kafka-inverview.md similarity index 100% rename from docs/system-design/data-communication/kafka-inverview.md rename to docs/system-design/distributed-system/message-queue/kafka-inverview.md diff --git a/docs/system-design/data-communication/message-queue.md b/docs/system-design/distributed-system/message-queue/message-queue.md similarity index 100% rename from docs/system-design/data-communication/message-queue.md rename to docs/system-design/distributed-system/message-queue/message-queue.md diff --git a/docs/system-design/data-communication/rabbitmq.md b/docs/system-design/distributed-system/message-queue/rabbitmq.md similarity index 100% rename from docs/system-design/data-communication/rabbitmq.md rename to docs/system-design/distributed-system/message-queue/rabbitmq.md diff --git a/docs/system-design/data-communication/dubbo.md b/docs/system-design/distributed-system/rpc/关于Dubbo的重要知识点.md similarity index 100% rename from docs/system-design/data-communication/dubbo.md rename to docs/system-design/distributed-system/rpc/关于Dubbo的重要知识点.md diff --git a/docs/system-design/data-communication/why-use-rpc.md b/docs/system-design/distributed-system/rpc/服务之间的调用为啥不直接用HTTP而用RPC.md similarity index 99% rename from docs/system-design/data-communication/why-use-rpc.md rename to docs/system-design/distributed-system/rpc/服务之间的调用为啥不直接用HTTP而用RPC.md index f295e13b..4a139911 100644 --- a/docs/system-design/data-communication/why-use-rpc.md +++ b/docs/system-design/distributed-system/rpc/服务之间的调用为啥不直接用HTTP而用RPC.md @@ -41,7 +41,7 @@ http://www.importnew.com/22003.html ## 既有 HTTP ,为啥用 RPC 进行服务调用? -###RPC 只是一种设计而已 +### RPC 只是一种设计而已 RPC 只是一种概念、一种设计,就是为了解决 **不同服务之间的调用问题**, 它一般会包含有 **传输协议** 和 **序列化协议** 这两个。