06 2021 档案

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

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

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

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

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

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

为什么做不了软件架构师
摘要:https://www.zhihu.com/question/36658435 https://zhuanlan.zhihu.com/p/86262782 阅读全文

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

完整版go-mysql-elasticsearch安装步骤
摘要:https://www.jianshu.com/p/0670e2554cc7 阅读全文

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

安装GO
摘要:vi /etc/profile export GOROOT=/usr/local/src/go/go export GOPATH=/www/go export PATH=$PATH:$GOROOT/bin 执行 export GO111MODULE='on' && go env -w GOPRIVA 阅读全文

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

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

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

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 阅读(94) 评论(0) 推荐(0) 编辑

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 阅读(28) 评论(0) 推荐(0) 编辑

Centos 7配置阿里云yum源
摘要:https://www.cnblogs.com/digdeep/p/10982669.html 阅读全文

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

mha 排障
摘要:https://blog.csdn.net/lj_11111/article/details/81009050 https://www.cxybl.com/2020/chengxurensheng_0920/961.html mha切换主从步骤 1.保持宕机的master中的binlog日志文件 2 阅读全文

posted @ 2021-06-07 09:53 木林coder 阅读(39) 评论(0) 推荐(0) 编辑

mysql 主从基本操作
摘要:mysql配置文件开启这两个选项之后才能生成server-uuid ,才能创建主从,并保证每个server-id不一致 主节点配置: log-bin=mysql-bin server-id=1 从节点配置: server-id=2 重启MySQL服务 2. 删除auto.cnf,因为这个文件保存着之 阅读全文

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

nginx常见bug
摘要:如果访问报404,原因可能有:1:路径错误 2:目录权限 3:配置文件-user root root; Nginx显示中文乱码问题: charset 'utf-8' default_type 'application/x-javascript;charset=utf-8'; ngx.header.c 阅读全文

posted @ 2021-06-04 17:30 木林coder 阅读(171) 评论(0) 推荐(0) 编辑

mongodb 连接工具
摘要:https://www.nosqlbooster.com/downloads 阅读全文

posted @ 2021-06-03 16:56 木林coder 阅读(171) 评论(0) 推荐(0) 编辑

rabbitmq入门
摘要:https://www.jianshu.com/p/3e76a144bebd #######docker 安装rabbitmq + php实例 https://blog.csdn.net/guyan0319/article/details/88850824 阅读全文

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

php7.2 安装redis扩展
摘要:https://segmentfault.com/a/1190000012505240 阅读全文

posted @ 2021-06-02 12:03 木林coder 阅读(51) 评论(0) 推荐(0) 编辑

php安装扩展的几种方法
摘要:https://blog.csdn.net/ltstud/article/details/78456039 阅读全文

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

yum安装php7.2
摘要:https://www.cnblogs.com/hello-tl/p/9404655.html 阅读全文

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

相关报错
摘要:Installation failed, deleting ./composer.json https://blog.csdn.net/qq_35774849/article/details/107166334 your requirements could not be resolved to a 阅读全文

posted @ 2021-06-01 22:07 木林coder 阅读(70) 评论(0) 推荐(0) 编辑

PHP闭包的用法
摘要:https://www.php.cn/php-weizijiaocheng-396552.html 阅读全文

posted @ 2021-06-01 20:05 木林coder 阅读(38) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示