- Etcd 配置详解
SkTj
配置标记成员标记—name—data-dir—wal-dir—snapshot-count—heartbeat-interval—election-timeout—listen-peer-urls—listen-client-urls—max-snapshots—max-wals—cors集群标记—initial-advertise-peer-urls—initial-cluster—initia
- 520表白html5爱心代码
youyouxiong
html5css前端
在HTML5中创建一个带有爱心动画的表白页面,可以通过结合CSS3动画和JavaScript来实现。以下是一个简单的示例代码,展示了如何制作一个带有动态爱心效果的表白页面:520表白@keyframesheartBeat{0%{transform:scale(1);}25%{transform:scale(1.1);}50%{transform:scale(1);}75%{transform:sc
- Spring Cloud微服务网关Zuul动态路由配置优化和手动触发路由刷新
NullzzZ
微服务SpringCloud系列文章springcloud微服务wpfjava后端springbootspring
一、前文必看SpringCloud微服务网关Zuul动态路由配置。在前文中留了两个小坑。在本文将怕它给填了,所以前一篇文章建议看一下。二、DynamicZuulRouteLocator小优化在前文中提到,HeartbeatEvent事件会频繁触发,每次都需要去查询数据库。而且ZuulRefreshListener监听的其余四个刷新事件也不会经常触发。所以这里就可以做一下小优化,因为系统上线稳定后,
- mavlink协议详解_MAVLink通讯协议在STM32上移植,并自定义协议
马卡斯·扬
mavlink协议详解
mavlink全称是(MicroAirVehicleMessageMarshallingLibrary),从名字可以看出,mavlink是主要面向飞控的一种开源通信协议。因此它默认定义了很多适用于飞控的信息格式,比如heartbeat(心跳信号,每隔一两秒主从通信一次,以验证通信是否正常)。首先要说明的是,mavlink作为一个非常可靠(至少两字节校验)、支持类型丰富(messageID、comp
- LVS/DR&LVS高可用集群
Hannah_zh
LinuxLVS集群keepalivedipvsadmVS/DR
一、基本知识HeartbeatHeartbeat项目是Linux-HA工程的一个组成部分,其与lvs在本质上无关。Heartbeat提供了2个核心的功能正是lvs所需要的,心跳监测部分和资源接管,心跳监测可以通过网络链路和串口进行,而且支持冗余链路,安装了Heartbeat的两台机器会通过心跳检测互相检测对方的状态,当检测到对方失效的时候会调用资源接管来做接管服务器,保证高可靠性。在一个高可靠的l
- nginx+keepalived实现高可用
四季三餐,有趣有盼
高可用nginx云计算运维
目录什么是keepalived?keepalived工作原理部署nginx+keepalived什么是keepalived?keepalived是集群管理中保证集群高可用的一个服务,类似于heartbeat,用来防止单节点故障。keepalived工作原理keepalived是以VRRP协议为基础实现的。VirtualRouteRedundancyProtocol,即虚拟路由冗余协议,它主要是实现
- 深入浅出理解kafka原理系列之:kafka消费者参数设置
最笨的羊羊
日常分享专栏Kafka深入理解kafka原理kafka消费者参数设置
深入浅出理解kafka原理系列之:kafka消费者参数设置1.max.poll.records2.max.poll.interval.ms3.enable.auto.commit4.heartbeat.interval.ms5.session.timeout.ms6.auto.offset.reset6.指定分区消费7.消息回溯消费8.指定offset消费9.指定时间点开始消费1.max.poll
- 基于vueuse分装WebSocket
小木木爸
前端小屋websocket网络协议网络
基于vueuse分装WebSocketimport{useWebSocket}from'@vueuse/core'exportinterfaceIWebSocketConfig{wsUrl:stringisHeartbeat?:booleanisAutoReconnect?:booleanimmediate?:booleanautoReconnect?:{retries?:numberdelay?
- 【wu-lazy-cloud-network】Java自动化内网穿透
小吴小吴bug全无
java自动化开发语言
项目介绍wu-lazy-cloud-network是一款基于(wu-framework-parent)孵化出的项目,内部使用LazyORM操作数据库,主要功能是网络穿透,对于没有公网IP的服务进行公网IP映射使用环境JDK17SpringBoot3.0.2功能1.内网穿透2.服务端自主下发数据到客户端3.流量监控项目结构模块版本描述wu-lazy-cloud-heartbeat-common1.2
- frp内网穿透简单配置
YOUYAYAYA
服务器linux网络
frp内网穿透简单配置frp服务端配置,frps.ini(公网服务器配置)配置好直接运行./frps-cfrps.ini[common]bind_port=7000dashboard_port=7500vhost_http_port=8081authenticate_heartbeats=trueauthenticate_new_work_conns=trueauthentication_meth
- cesium three性能比较_mapboxgl + three 动画 — 网格热图
weixin_39667801
cesiumthree性能比较
一、前言最近工作上需要实现一个地图动画效果,简单的动画效果,是的,简单;不过在此之前,我并不认为它简单,需要有一点点的webgl、three.js的基础。效果大概就是一个网格起伏热力图的动画,像心跳一样、heartbeat……,像这样。Agridheatmap上面这个动效,它好像是基于一个gltf模型来做的,它不给地图交互,现在我们也想实现类似的效果,我们最后实现的效果跟这个效果比还有点差距,我们
- 集群概念介绍
大叶梧桐
ORACLEoracle-rac集群
集群术语须知服务硬件:指提供计算服务的硬件,比如PC机、PC服务器。服务实体:服务实体通常指服务软体和服务硬体。节点(node):运行Heartbeat进程的一个独立主机称为节点,节点是HA的核心组成部分,每个节点上运行着操作系统和Heartbeat软件服务。资源(resource):资源是一个节点可以控制的实体,当节点发生故障时,这些资源能够被其他节点接管。如:磁盘分区、文件系统、IP地址、应用
- 前端封装websocket类,实现消息注册和全局回调
1024小神
HTML前端前端websocket网络协议
实现消息注册和回调函数,实现全局使用同一个webscoket对象,并实现断线重连和心跳连接等功能,可以实现全局使用唯一实例,可以另外进行拓展配置//WebSocket类对象classWebSocketCli{//构造函数constructor(url:string,opts={}){this.url=urlthis.ws=nullthis.opts={heartbeatInterval:30000
- lucky记录114天
杉杉妈Alice
2021年05月30日扇贝每日一句2022年倒计时215天Ibelieveeveryhumanhasafinitenumberofheartbeats.Idon'tintendtowasteanyofmine.我相信每个人的心跳次数有限,所以我不想浪费任何一下。-NeilArmstrong今日周天早上走之前她还没有起床下午来学校上课,从头到尾都没有怎么管她她自己又带了一堆吃的,一开始没有让她分享,
- 使用HAProxy和Heartbeat进行负载平衡的高可用MySQL集群
开心人开发世界
您好,在本文中,我想分享一些从两个主MySQL节点构建高可用MySQL数据库集群的经验,具有基于HAProxy和Heartbeat的负载平衡和故障转移功能。在大多数现代项目中,数据库的可用性是生死攸关的问题。好的解决方案是从多个MySQL服务器创建一个分布式数据库集群,它可以处理负载平衡,故障转移功能和数据复制。此外,高负载下您可以拆分传入的请求。在这个例子中,我将展示从两个主节点创建一个MySQ
- raft实现心得-核心设计
背帆
go语言分布式开发共识算法
raft核心思想1、role角色分为leader、candidate、follower存在leader时其他节点都为leader的followerfollower一段时间检测不到leader的心跳heartbeat就会变成candidate,并开始投票election选出新的leader2、heartBeatleader会定期给其他follower发送heartBeat心跳,确保其他followe
- webSocket封装
⑧o年崋
websocket网络协议网络
letwebSocket=nullletisConnect=false//连接状态constglobalCallback=function(e){console.log(e)}//定义外部接收数据的回调函数letreConnectNum=0//重连次数letwebsocketUrl=null//心跳设置constheartCheck={heartbeatData:{Heart:true},//心跳
- 【分布式技术专题】「探索高性能远程通信」基于Netty的分布式通信框架实现(Dispatcher和EventListener)(下)
洛神灬殇
实战指南之分布式/微服务分布式wpf
基于Netty的分布式通信框架实现前提介绍本节重点Dispatcher(分派调度器)EventListenerChannelEventListenerChannel通道事件定义ChannelActionEventHeartbeat、超时及重连机制前提介绍经过阅读《【分布式技术专题】「探索高性能远程通信」基于Netty的分布式通信框架实现(附通信协议和代码)(上)》,相信您已经对网络通信框架的网络通
- dubbo源码阅读之provider-response
知止9528
NettyHandler.messageReceived-->AbstractPeer.received-->MultiMessageHandler.received-->HeartbeatHandler.received-->AllChannelHandler.received-->ChannelEventRunnable.run//线程池执行线程-->DecodeHandler.receive
- (lvs)高性能Linux服务器构建实战:运维监控、性能调优与集群应用
SkTj
LVS三种模式:NAT,TUN,DR调度算法:rrwrrlcwlclblclblcrdhshLVS查看哪些IP连接过来:ipvsadm-LncLVS+keepalivedLVS+heartbeatLVS+piranha
- 搭建k8s集群实战(二)安装keepalived和haproxy
xiegwei
k8skuberneteslinux运维
keepalived介绍:是集群管理中保证集群高可用的一个服务软件,其功能类似于heartbeat,用来防止单点故障Keepalived作用:为haproxy提供vip(10.208.1.190)在三个haproxy实例之间提供主备,降低当其中一个haproxy失效的时对服务的影响。1、yum安装Keepalived【三个master节点】安装keepalivedyuminstall-ykeepa
- 越难越爱
enjune310
越难越爱Loveyoumorewhileit'sgettingtough吴若希世界上哪里去找热望热似火不退落WherecouldIfindthepassionhotasflameWhichneverfades我对你心跳的感觉高低跌荡IfeelmyheartbeatforyouUpanddownitfluctuates最困惑那半秒钟念在有你的IwannagetridofthepuzzledinmeA
- 2018-09-25
twotwo22
Musicismytease!MusicopensonesmindandgiveshealthtoonesSoul!FillstheHeartwiththepowerofLove.Seeme,,,hearme,,,touchme!I’mreallyjustashumanasyou,,myheartbeatsredandeyesshineonyou,,shineonyou,,shine,shineo
- 使用Python基于metricbeat和heartbeat采集数据进行告警
你说咋整就咋整
pythonelk
一、系统架构IP主机名角色备注11.0.1.11kafka1kafka和MySQL11.0.1.12kafka2kafka11.0.1.13kafka3kafka11.0.1.14demo1metricbeat和heartbeat二、部署Kafka省略二、部署Metricbeat和Heartbeatmetricbeat配置:metricbeat.config.modules:path:${path
- Kafka-消费者-KafkaConsumer分析-Heartbeat
Andy技术支援
队列kafka分布式
在前面分析Rebalance操作的原理时介绍到,消费者定期向服务端的GroupCoordinator发送HeartbeatRequest来确定彼此在线。下面就来详细分析KafkaConsumer中Heartbeat的相关实现。首先了解一下心跳请求和响应的格式。HeartbeatRequest的消息体格式比较简单,依次包含group_id(String)、group_generation_id(in
- 手把手带你手撕一个shell
慕斯( ˘▽˘)っ
Linux练功初阶功法linux运维服务器c语言
慕斯主页:修仙—别有洞天♈️今日夜电波:HEARTBEAT—YOASOBI2:20━━━━━━️────────5:35◀️⏸▶️☰关注点赞收藏您的每一次鼓励都是对我莫大的支持目录什么是shell?怎么实现shell?shell命令提示符的实现创建子进程执行命令内建命令的引入内建命令的实现shell的拼接shell的总体代码什么是shell?Shell是一种应用程序,它连接了用户和Linux内核,
- Linux系统IO—探索输入输出操作的奥秘
慕斯( ˘▽˘)っ
Linux练功初阶功法linux运维服务器
慕斯主页:修仙—别有洞天♈️今日夜电波:HEARTBEAT—YOASOBI2:20━━━━━━️────────5:35◀️⏸▶️☰关注点赞收藏您的每一次鼓励都是对我莫大的支持目录什么是Linux系统IO?open()close()write()read()lseek()什么是Linux系统IO?Linux系统IO,指的是在Linux操作系统中进行的所有输入输出操作。这些操作可以通过不同的方式实现
- Linux进程程序替换
慕斯( ˘▽˘)っ
Linux练功初阶功法linuxchrome运维服务器
慕斯主页:修仙—别有洞天♈️今日夜电波:HEARTBEAT—YOASOBI2:20━━━━━━️────────5:35◀️⏸▶️☰关注点赞收藏您的每一次鼓励都是对我莫大的支持目录什么是进程程序替换?引入替换函数execlexeclpexecvexecvp前置知识—环境变量的继承execleexecve什么是进程程序替换?Linux进程程序替换是一种操作系统内部的机制,它使得一个正在运行的进程可以
- 你是我遥不可望的一颗星
missyou95
第二章Heartbeat夏天的中考过后,苏语如愿收到了自己向往的寄宿高中,其实如果家里气氛没有那么诡谲的话,她也很愿意在家旁边的学校上学,可当家里突然搬到了市内五区之外,她仅仅是被通知的那位时,她还是有些失望的。还是可以问我一下的,我又不会很任性的说不同意,苏语暗想。不过寄宿也好,第一可以避免和家里人出现冲突矛盾,第二可以拥有自己的小小自由。什么叫若为自由故,两者皆可抛的道理苏语小小的时候就懂。当
- nginx反向代理
谷谷谷雨
中间件等nginxlinux运维
技术调研,浅浅学习一下。需求分析需求:主备两个集群,对外要提供一个vip供访问;同一时间只会访问一个集群,主挂了切备提供服务。分析:vip方案:直接手动配也行,keepalived也行,heartbeat也行不是两个服务器,是两个集群(不确定的服务器数量,不确定谁提供服务),手动配置和keepalived都不知道要配到哪个机器上只能搞一个新的服务器做这个事。装nginx做反向代理。反向代理,就是n
- SQL的各种连接查询
xieke90
UNION ALLUNION外连接内连接JOIN
一、内连接
概念:内连接就是使用比较运算符根据每个表共有的列的值匹配两个表中的行。
内连接(join 或者inner join )
SQL语法:
select * fron
- java编程思想--复用类
百合不是茶
java继承代理组合final类
复用类看着标题都不知道是什么,再加上java编程思想翻译的比价难懂,所以知道现在才看这本软件界的奇书
一:组合语法:就是将对象的引用放到新类中即可
代码:
package com.wj.reuse;
/**
*
* @author Administrator 组
- [开源与生态系统]国产CPU的生态系统
comsci
cpu
计算机要从娃娃抓起...而孩子最喜欢玩游戏....
要让国产CPU在国内市场形成自己的生态系统和产业链,国家和企业就不能够忘记游戏这个非常关键的环节....
投入一些资金和资源,人力和政策,让游
- JVM内存区域划分Eden Space、Survivor Space、Tenured Gen,Perm Gen解释
商人shang
jvm内存
jvm区域总体分两类,heap区和非heap区。heap区又分:Eden Space(伊甸园)、Survivor Space(幸存者区)、Tenured Gen(老年代-养老区)。 非heap区又分:Code Cache(代码缓存区)、Perm Gen(永久代)、Jvm Stack(java虚拟机栈)、Local Method Statck(本地方法栈)。
HotSpot虚拟机GC算法采用分代收
- 页面上调用 QQ
oloz
qq
<A href="tencent://message/?uin=707321921&Site=有事Q我&Menu=yes">
<img style="border:0px;" src=http://wpa.qq.com/pa?p=1:707321921:1></a>
- 一些问题
文强chu
问题
1.eclipse 导出 doc 出现“The Javadoc command does not exist.” javadoc command 选择 jdk/bin/javadoc.exe 2.tomcate 配置 web 项目 .....
SQL:3.mysql * 必须得放前面 否则 select&nbs
- 生活没有安全感
小桔子
生活孤独安全感
圈子好小,身边朋友没几个,交心的更是少之又少。在深圳,除了男朋友,没几个亲密的人。不知不觉男朋友成了唯一的依靠,毫不夸张的说,业余生活的全部。现在感情好,也很幸福的。但是说不准难免人心会变嘛,不发生什么大家都乐融融,发生什么很难处理。我想说如果不幸被分手(无论原因如何),生活难免变化很大,在深圳,我没交心的朋友。明
- php 基础语法
aichenglong
php 基本语法
1 .1 php变量必须以$开头
<?php
$a=” b”;
echo
?>
1 .2 php基本数据库类型 Integer float/double Boolean string
1 .3 复合数据类型 数组array和对象 object
1 .4 特殊数据类型 null 资源类型(resource) $co
- mybatis tools 配置详解
AILIKES
mybatis
MyBatis Generator中文文档
MyBatis Generator中文文档地址:
http://generator.sturgeon.mopaas.com/
该中文文档由于尽可能和原文内容一致,所以有些地方如果不熟悉,看中文版的文档的也会有一定的障碍,所以本章根据该中文文档以及实际应用,使用通俗的语言来讲解详细的配置。
本文使用Markdown进行编辑,但是博客显示效
- 继承与多态的探讨
百合不是茶
JAVA面向对象 继承 对象
继承 extends 多态
继承是面向对象最经常使用的特征之一:继承语法是通过继承发、基类的域和方法 //继承就是从现有的类中生成一个新的类,这个新类拥有现有类的所有extends是使用继承的关键字:
在A类中定义属性和方法;
class A{
//定义属性
int age;
//定义方法
public void go
- JS的undefined与null的实例
bijian1013
JavaScriptJavaScript
<form name="theform" id="theform">
</form>
<script language="javascript">
var a
alert(typeof(b)); //这里提示undefined
if(theform.datas
- TDD实践(一)
bijian1013
java敏捷TDD
一.TDD概述
TDD:测试驱动开发,它的基本思想就是在开发功能代码之前,先编写测试代码。也就是说在明确要开发某个功能后,首先思考如何对这个功能进行测试,并完成测试代码的编写,然后编写相关的代码满足这些测试用例。然后循环进行添加其他功能,直到完全部功能的开发。
- [Maven学习笔记十]Maven Profile与资源文件过滤器
bit1129
maven
什么是Maven Profile
Maven Profile的含义是针对编译打包环境和编译打包目的配置定制,可以在不同的环境上选择相应的配置,例如DB信息,可以根据是为开发环境编译打包,还是为生产环境编译打包,动态的选择正确的DB配置信息
Profile的激活机制
1.Profile可以手工激活,比如在Intellij Idea的Maven Project视图中可以选择一个P
- 【Hive八】Hive用户自定义生成表函数(UDTF)
bit1129
hive
1. 什么是UDTF
UDTF,是User Defined Table-Generating Functions,一眼看上去,貌似是用户自定义生成表函数,这个生成表不应该理解为生成了一个HQL Table, 貌似更应该理解为生成了类似关系表的二维行数据集
2. 如何实现UDTF
继承org.apache.hadoop.hive.ql.udf.generic
- tfs restful api 加auth 2.0认计
ronin47
目前思考如何给tfs的ngx-tfs api增加安全性。有如下两点:
一是基于客户端的ip设置。这个比较容易实现。
二是基于OAuth2.0认证,这个需要lua,实现起来相对于一来说,有些难度。
现在重点介绍第二种方法实现思路。
前言:我们使用Nginx的Lua中间件建立了OAuth2认证和授权层。如果你也有此打算,阅读下面的文档,实现自动化并获得收益。SeatGe
- jdk环境变量配置
byalias
javajdk
进行java开发,首先要安装jdk,安装了jdk后还要进行环境变量配置:
1、下载jdk(http://java.sun.com/javase/downloads/index.jsp),我下载的版本是:jdk-7u79-windows-x64.exe
2、安装jdk-7u79-windows-x64.exe
3、配置环境变量:右击"计算机"-->&quo
- 《代码大全》表驱动法-Table Driven Approach-2
bylijinnan
java
package com.ljn.base;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.uti
- SQL 数值四舍五入 小数点后保留2位
chicony
四舍五入
1.round() 函数是四舍五入用,第一个参数是我们要被操作的数据,第二个参数是设置我们四舍五入之后小数点后显示几位。
2.numeric 函数的2个参数,第一个表示数据长度,第二个参数表示小数点后位数。
例如:
select cast(round(12.5,2) as numeric(5,2))  
- c++运算符重载
CrazyMizzz
C++
一、加+,减-,乘*,除/ 的运算符重载
Rational operator*(const Rational &x) const{
return Rational(x.a * this->a);
}
在这里只写乘法的,加减除的写法类似
二、<<输出,>>输入的运算符重载
&nb
- hive DDL语法汇总
daizj
hive修改列DDL修改表
hive DDL语法汇总
1、对表重命名
hive> ALTER TABLE table_name RENAME TO new_table_name;
2、修改表备注
hive> ALTER TABLE table_name SET TBLPROPERTIES ('comment' = new_comm
- jbox使用说明
dcj3sjt126com
Web
参考网址:http://www.kudystudio.com/jbox/jbox-demo.html jBox v2.3 beta [
点击下载]
技术交流QQGroup:172543951 100521167
[2011-11-11] jBox v2.3 正式版
- [调整&修复] IE6下有iframe或页面有active、applet控件
- UISegmentedControl 开发笔记
dcj3sjt126com
// typedef NS_ENUM(NSInteger, UISegmentedControlStyle) {
// UISegmentedControlStylePlain, // large plain
&
- Slick生成表映射文件
ekian
scala
Scala添加SLICK进行数据库操作,需在sbt文件上添加slick-codegen包
"com.typesafe.slick" %% "slick-codegen" % slickVersion
因为我是连接SQL Server数据库,还需添加slick-extensions,jtds包
"com.typesa
- ES-TEST
gengzg
test
package com.MarkNum;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.annotation
- 为何外键不再推荐使用
hugh.wang
mysqlDB
表的关联,是一种逻辑关系,并不需要进行物理上的“硬关联”,而且你所期望的关联,其实只是其数据上存在一定的联系而已,而这种联系实际上是在设计之初就定义好的固有逻辑。
在业务代码中实现的时候,只要按照设计之初的这种固有关联逻辑来处理数据即可,并不需要在数据库层面进行“硬关联”,因为在数据库层面通过使用外键的方式进行“硬关联”,会带来很多额外的资源消耗来进行一致性和完整性校验,即使很多时候我们并不
- 领域驱动设计
julyflame
VODAO设计模式DTOpo
概念:
VO(View Object):视图对象,用于展示层,它的作用是把某个指定页面(或组件)的所有数据封装起来。
DTO(Data Transfer Object):数据传输对象,这个概念来源于J2EE的设计模式,原来的目的是为了EJB的分布式应用提供粗粒度的数据实体,以减少分布式调用的次数,从而提高分布式调用的性能和降低网络负载,但在这里,我泛指用于展示层与服务层之间的数据传输对
- 单例设计模式
hm4123660
javaSingleton单例设计模式懒汉式饿汉式
单例模式是一种常用的软件设计模式。在它的核心结构中只包含一个被称为单例类的特殊类。通过单例模式可以保证系统中一个类只有一个实例而且该实例易于外界访问,从而方便对实例个数的控制并节约系统源。如果希望在系统中某个类的对象只能存在一个,单例模式是最好的解决方案。
&nb
- logback
zhb8015
loglogback
一、logback的介绍
Logback是由log4j创始人设计的又一个开源日志组件。logback当前分成三个模块:logback-core,logback- classic和logback-access。logback-core是其它两个模块的基础模块。logback-classic是log4j的一个 改良版本。此外logback-class
- 整合Kafka到Spark Streaming——代码示例和挑战
Stark_Summer
sparkstormzookeeperPARALLELISMprocessing
作者Michael G. Noll是瑞士的一位工程师和研究员,效力于Verisign,是Verisign实验室的大规模数据分析基础设施(基础Hadoop)的技术主管。本文,Michael详细的演示了如何将Kafka整合到Spark Streaming中。 期间, Michael还提到了将Kafka整合到 Spark Streaming中的一些现状,非常值得阅读,虽然有一些信息在Spark 1.2版
- spring-master-slave-commondao
王新春
DAOspringdataSourceslavemaster
互联网的web项目,都有个特点:请求的并发量高,其中请求最耗时的db操作,又是系统优化的重中之重。
为此,往往搭建 db的 一主多从库的 数据库架构。作为web的DAO层,要保证针对主库进行写操作,对多个从库进行读操作。当然在一些请求中,为了避免主从复制的延迟导致的数据不一致性,部分的读操作也要到主库上。(这种需求一般通过业务垂直分开,比如下单业务的代码所部署的机器,读去应该也要从主库读取数