上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页

2021年6月22日

分布式事务行业方案

摘要: 分布式事务行业方案:1.2pc 2.3pc 3.tcc 4.mq 2pc的优点:开发快,代码少.缺点:mysql效率低因为commit之前会锁表.并且由于网络故障有可能导致数据不一致,如果连接没有按时提交commit,会导致mysql一直等待 3pc的优点:3pc可以设置等待时间,如果没有按时提交c 阅读全文

posted @ 2021-06-22 23:25 木林coder 阅读(33) 评论(0) 推荐(0) 编辑

2021年6月21日

数据聚合架构模式

摘要: 购买下单 > swoft客户端 > 订单微服务(swoft服务端) > 订单服务的mysql(修改库存) ↓生产者推送消息 rabbitmq集群 ↑消费者消费消息 - 数据异构聚合 > 存入或修改 redis/mongodb ↑查询聚合数据或异构数据 前端商品详情页 > swoft客户端 > 商品微 阅读全文

posted @ 2021-06-21 17:07 木林coder 阅读(82) 评论(0) 推荐(0) 编辑

2021年6月18日

高并发怎么解决?

摘要: 分布式,高可用,高性能,缓存,搜索引擎,负载均衡,队列,降级,安全... 服务降级: 根据开关位置(前置降级,代码降级), 根据读写(读降级[本来是从数据库读取的,改为缓存或静态等等],写降级[把数据库操作改为消息队列操作]), 根据降级的性质(返回内容降级[数据库返回数据改为缓存或者静态],限流降 阅读全文

posted @ 2021-06-18 23:06 木林coder 阅读(66) 评论(0) 推荐(0) 编辑

2021年6月17日

为什么做不了软件架构师

摘要: https://www.zhihu.com/question/36658435 https://zhuanlan.zhihu.com/p/86262782 阅读全文

posted @ 2021-06-17 21:23 木林coder 阅读(24) 评论(0) 推荐(0) 编辑

完整版go-mysql-elasticsearch安装步骤

摘要: https://www.jianshu.com/p/0670e2554cc7 阅读全文

posted @ 2021-06-17 18:05 木林coder 阅读(438) 评论(0) 推荐(0) 编辑

2021年6月12日

安装GO

摘要: vi /etc/profile export GOROOT=/usr/local/src/go/go export GOPATH=/www/go export PATH=$PATH:$GOROOT/bin 执行 go env -w GOPROXY=https://goproxy.cn docker 阅读全文

posted @ 2021-06-12 22:46 木林coder 阅读(32) 评论(0) 推荐(0) 编辑

2021年6月11日

POSTMAN

摘要: https://www.cnblogs.com/fnng/p/9136434.html 阅读全文

posted @ 2021-06-11 17:02 木林coder 阅读(16) 评论(0) 推荐(0) 编辑

2021年6月10日

ES 配置文件

摘要: cluster.name: elasticsearch-cluster node.name: es-master-10 network.host: 0.0.0.0 network.publish_host: 180.200.7.10 http.port: 9200 transport.tcp.por 阅读全文

posted @ 2021-06-10 19:54 木林coder 阅读(88) 评论(0) 推荐(0) 编辑

2021年6月8日

mysql开启远程连接

摘要: https://blog.csdn.net/lilvming_19940816/article/details/82151744 https://blog.csdn.net/iiiiiilikangshuai/article/details/100905996 远程登录: mysql -h 192. 阅读全文

posted @ 2021-06-08 06:58 木林coder 阅读(25) 评论(0) 推荐(0) 编辑

2021年6月7日

Centos 7配置阿里云yum源

摘要: https://www.cnblogs.com/digdeep/p/10982669.html 阅读全文

posted @ 2021-06-07 11:32 木林coder 阅读(42) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页

导航