![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
分布式
文章平均质量分 78
世界而世界
这个作者很懒,什么都没留下…
展开
-
【分布式服务】 RPC 示例(Protocol Buffer)
分布式服务 RPC 示例(Protocol Buffer)一、Protocol Buffer官网githubmvn依赖idea 插件 Protocol Buffer Editormac 安装brew install protobuf存根定义protobuf/service1.protosyntax = "proto3";/* 支持导入 */import "protobuf/test.proto";/* java 生成的包路径 */optio原创 2020-12-18 00:11:43 · 294 阅读 · 0 评论 -
【分布式服务】RPC 简介
分布式服务 RPC 简介一、简述wiki 介绍remote procedure callprocedure [prəˈsiːdʒə®] 过程subroutine [ˈsʌbruːtiːn] 子程序核心:像调用本地方法一样调用远程方法In distributed computing, a remote procedure call (RPC) is when a computer program causes a procedure (subroutine) to execute原创 2020-12-16 23:17:57 · 253 阅读 · 0 评论 -
【分布式事务】Hmily Demo 使用实验(Spring cloud 版)
分布式事务 Hmily Demo 使用实验(Spring cloud 版)一、项目说明猫大人的开源项目之一github官网Hmily是一款高性能,零侵入,金融级分布式事务解决方案,目前主要提供柔性事务的支持,包含 TCC, TAC(自动生成回滚SQL) 方案,未来还会支持 XA 等方案。Spring Cloud 快速启动文档二、项目初始化拉取 hmily 最新源码,并编译git clone https://github.com/dromara/hmily.gitcd hmi原创 2020-12-10 22:42:48 · 1089 阅读 · 1 评论 -
【分布式事务】常见分布式事务简述
常见分布式事务简述一、事务ACIDA 原子性 Atomicity 英[ˌætəˈmɪsəti]either all happen or none happen. These changes include database changes, messages, and actions on transducers.C 一致性 Consistency 英[kənˈsɪstənsi]A transaction is a correct transformation of the sta原创 2020-12-07 01:09:57 · 239 阅读 · 2 评论