aoerbo是什么牌子的手表| 总放屁是什么原因| 肌酐是检查什么的| 右边腰疼是什么原因| 太后是皇上的什么人| 美特斯邦威是什么档次| 三金片有什么副作用| 放臭屁是什么原因| 真狗是什么意思| 脑梗吃什么水果| 什么是核心期刊| 阳历1月份是什么星座| ic50是什么意思| 海狗是什么| 结婚12年是什么婚| 尿分叉是什么原因引起的| sinoer是什么牌子| 梦中梦是什么原因| 六八年属什么生肖| 倒霉是什么意思| 黑匣子是什么| 脖子上长疣是什么原因| 头晕需要做什么检查| nf是什么| 口了又一是什么字| 猫有什么病会传染给人| 祸不单行是什么意思| 藜芦是什么东西| 杨梅什么时候上市| 为什么会得幽门螺旋杆菌| 任性是什么意思| 胰腺炎能吃什么| 头臂长是什么意思| 为什么会黄体功能不足| 两个大于号是什么车| 至字五行属什么| 喝酒伤什么| 特应性皮炎用什么药膏| 相对湿度是什么意思| fredperry是什么牌子| 农历7月20日是什么星座| 早上十点是什么时辰| 减肥中午吃什么| 怀孕吃什么对胎儿好| 上海市市委书记是什么级别| 贴脸是什么意思| 吝啬鬼是什么生肖| 右下眼皮跳是什么原因| 九二年属什么生肖| 忆苦思甜下一句是什么| 惊弓之鸟告诉我们什么道理| 吃什么补钾最快最好| bg是什么| 什么症状吃肝胃气痛片| 66大寿有什么讲究| 手术后吃什么补品好| 给老师送花送什么花合适| pmi是什么| 子宫内膜囊性增生是什么意思| 丞相和宰相有什么区别| 小孩记忆力差什么原因| 门子是什么意思| 暇步士是什么档次品牌| 生理盐水和食用盐水有什么区别| 嗓子咽口水疼吃什么药| 裤子前浪后浪是什么| fml什么意思| 1999年是什么命| 女娲用什么补天| 辟邪剑谱和葵花宝典有什么关系| 痔疮痒痒的是什么原因| 已所不欲勿施于人是什么意思| 孙五行属什么| 陀飞轮是什么意思| hbeag阳性是什么意思| 滴度是什么意思| 热感冒吃什么食物好| 吃什么水果治便秘| 21速和24速有什么区别| 小蓝是什么| 骨髓水肿吃什么消炎药| 检查是否怀孕要做什么检查| v8是什么| 心情沉重是什么意思| 橙花是什么花| 梦见儿子小时候是什么意思| 来袭是什么意思| 腹泻什么意思| 乳清粉是什么东西| 入党有什么用| 以备不时之需什么意思| 什么能代替润滑油| 吃什么治失眠| 温度计代表什么生肖| 什么时候闰十月| 在圣是什么生肖| 碳水是什么| 吃三七粉有什么作用| 男人沉默了说明什么| 印度什么时候独立的| 碧生源减肥茶有什么副作用| 世界上最大的湖是什么湖| 水瓶座什么象| 家慈是对什么人的称呼| 什么老什么老| 什么叫排比句| 杉菜是什么意思| 副胎盘什么意思| 股癣用什么药膏好得快| onemore是什么牌子| 肝藏血是什么意思| 左肾结石的症状是什么| 恒心是什么意思| v8是什么| 空气净化器什么牌子好| 鼻息肉是什么样的图片| 眼睛散光是什么原因造成的| 什么时候闰五月| 小肚子一直疼是什么原因| 甲状腺吃什么盐| 脂肪瘤吃什么药可以消除| cooc香水是什么牌子的| 中性皮肤的特征是什么| 祛火喝什么茶| 高胰岛素血症是什么病| 穗是什么意思| 如意什么意思| 孔子姓什么| 校草是什么意思| fossil是什么意思| 扁桃体发炎能吃什么水果| 吃什么油最健康| 腿疼挂什么科| 景德镇有什么好玩的| 排骨炖山药有什么功效| mi是什么| 节育环要什么时候取才是最佳时期| 爱的本质是什么| 颈椎病去医院挂什么科| o型血和b型血的孩子是什么血型| 坦诚相待是什么意思| 公务员是什么编制| 什么药补气血效果最好| 世界上最贵的狗是什么| fy是什么意思| 杠杠滴是什么意思| 潜血阴性是什么意思| 1889年属什么生肖| 子宫内膜炎用什么药效果好| 肠系膜淋巴结炎吃什么药| 头七烧什么| 胃食管反流咳嗽吃什么药| 什么牌子的点读机好| 嬉皮士是什么意思| 可悲可叹是什么意思| 单纯疱疹病毒吃什么药| 疱疹是什么原因引起的| 痛风该吃什么药好得快| 中项是什么意思| 铁树是什么生肖| 贫嘴什么意思| 看破不说破什么意思| 鹿代表什么生肖| 梦见火车脱轨什么预兆| 解酒吃什么水果| 命门火衰是什么意思| 当今社会什么行业前途比较好| 12月20日什么星座| vana是什么牌子| 什么空调| 奔豚是什么意思| 空字五行属什么| 多发性结节是什么意思| 比基尼是什么| 叶酸有什么作用| 形态欠规则是什么意思| 狗为什么吐舌头| 巴卡是什么意思| rag是什么| 脾的主要功能是什么| 早泄吃什么补| 诸行无常是什么意思| 游泳前一定要做好什么运动| 莲花白是什么菜| 精神出轨什么意思| 双土是什么字| 舌苔白厚是什么原因| 慢性支气管炎吃什么药| 卡鱼刺挂什么科| 眩晕是什么症状| 寻找什么| rad是什么单位| 吃金蝉有什么好处| 上善若水下一句是什么| 妇科臭氧治疗是什么| 什么样的眼睛| 酸枣仁配什么治疗失眠| 梦见狗咬自己是什么意思| 喝酒伤什么| 木糖醇是什么糖| 女人鼻子大代表什么| 属虎五行属什么| 女人抖腿代表什么意思| 深夜里买醉是什么歌| 哺乳期能吃什么水果| 天方夜谭是什么意思| 尿微量白蛋白是什么意思| 不行是什么意思| 什么原因不来月经| 多愁善感的动物是什么生肖| 地格是什么意思| 梦见捡金首饰是什么意思| 咳嗽咳到吐是什么原因| 肾虚吃什么好| 参天大树什么意思| 什么原因引起甲亢| 俄罗斯信奉的是什么教| 月经不来是什么原因导致的| 下野是什么意思| 40岁属什么| 血糖高能喝什么粥| 萝卜不能和什么一起吃| miracle是什么意思| 向左向右向前看是什么歌| 宫颈分离是什么意思| 辩驳是什么意思| 祸从天降是什么生肖| 紧急避孕药什么时候吃有效| 男性尿血是什么原因导致的| 耳道炎用什么药最有效| 狗什么东西不能吃| 云代表什么动物| 韩国欧巴是什么意思| 三七主要治什么病| 增大摩擦力的方法有什么| 公务员五行属什么| 性生活过后出血是什么原因| 吃蓝莓有什么好处| 什么方法避孕最安全有效| 先兆临产是什么意思| 睚眦欲裂什么意思| 胆固醇高是什么意思| 什么颜色加什么颜色等于绿色| 面部痒是什么原因| 巨蟹座什么性格| 老是放屁什么原因| 胆囊切除后对身体有什么影响| 突然膝盖疼是什么原因| 614是什么星座| 乱的偏旁是什么| 便秘吃什么| 口水臭是什么原因| ab和a型血生的孩子是什么血型| 杰五行属性是什么| 公章一般是什么字体| 关节炎吃什么药| 经常腿抽筋是什么原因| 高血糖吃什么水果| 数脉是什么意思| 脑炎是什么病严重吗| 黄钻有什么用| 梦见摘豆角是什么预兆| 小鹿乱撞是什么意思| 蒺藜是什么意思| 百度Jump to content

用车你不一定全知道 汽车涉水后需检查的隐患

From Wikipedia, the free encyclopedia
百度   ●周恩来做到举轻若重,一是缘于对党和人民事业的敬畏之心;二是缘于勤奋积累,不倦钻研的工作态度;三是缘于高度的奉献精神。

In computer science, a heartbeat is a periodic signal generated by hardware or software to indicate normal operation or to synchronize other parts of a computer system.[1][2] Heartbeat mechanism is one of the common techniques in mission critical systems for providing high availability and fault tolerance of network services by detecting the network or systems failures of nodes or daemons which belongs to a network cluster—administered by a master server—for the purpose of automatic adaptation and rebalancing of the system by using the remaining redundant nodes on the cluster to take over the load of failed nodes for providing constant services.[3][1] Usually a heartbeat is sent between machines at a regular interval in the order of seconds; a heartbeat message.[4] If the endpoint does not receive a heartbeat for a time—usually a few heartbeat intervals—the machine that should have sent the heartbeat is assumed to have failed.[5] Heartbeat messages are typically sent non-stop on a periodic or recurring basis from the originator's start-up until the originator's shutdown. When the destination identifies a lack of heartbeat messages during an anticipated arrival period, the destination may determine that the originator has failed, shutdown, or is generally no longer available.

Heartbeat protocol

[edit]

A heartbeat protocol is generally used to negotiate and monitor the availability of a resource, such as a floating IP address, and the procedure involves sending network packets to all the nodes in the cluster to verify its reachability.[3] Typically when a heartbeat starts on a machine, it will perform an election process with other machines on the heartbeat network to determine which machine, if any, owns the resource. On heartbeat networks of more than two machines, it is important to take into account partitioning, where two halves of the network could be functioning but not able to communicate with each other. In a situation such as this, it is important that the resource is only owned by one machine, not one machine in each partition.

As a heartbeat is intended to be used to indicate the health of a machine, it is important that the heartbeat protocol and the transport that it runs on are as reliable as possible. Causing a failover because of a false alarm may, depending on the resource, be highly undesirable. It is also important to react quickly to an actual failure, further signifying the reliability of the heartbeat messages. For this reason, it is often desirable to have a heartbeat running over more than one transport; for instance, an Ethernet segment using UDP/IP, and a serial link.

A "cluster membership" of a node is a property of network reachability: if the master can communicate with the node , it's considered a member of the cluster and "dead" otherwise.[6] A heartbeat program as a whole consist of various subsystems:[7]

  • Heartbeat Subsystem (HS): The subsystem that monitors the node's presence within the cluster through a series of keepalive or "hear-beat messages".
  • Cluster Manager (CM): The subsystem within the cluster—usually the master server—which keeps track of the "cluster members" and records which resources are on which nodes.
  • Cluster Transition (CT): When a node joins or leaves the cluster, this subsystem is responsible for keeping track of such occurrences for the purpose of triggering events to rebalancing and reconfiguring the master to distribute the load.

Heartbeat messages are sent in a periodic manner through techniques such as broadcast or multicasts in larger clusters.[6] Since CMs have transactions across the cluster, the most common pattern is to send heartbeat messages to all the nodes and "await" responses in non-blocking fashion.[8] Since the heartbeat or keepalive messages are the overwhelming majority of non-application related cluster control messages—which also goes to all the members of the cluster—major critical systems also include non-IP protocols like serial ports to deliver heartbeats.[9]

Design and implementation

[edit]

Every CM on the master server maintains a finite-state machine with three states for each node it administers: Down, Init, and Alive.[10] Whenever a new node joins, the CM changes the state of the node from Down to Init and broadcasts a "boot-up message", which the node receives the executes set of start-up procedures. It then responses with an acknowledgment message, CM then includes the node as the member of the cluster and transitions the state of the node from Init to Alive. Every node in the Alive state would receive a periodic broadcast heartbeat message from the HS subsystem and expects an acknowledgment message back within a timeout range. If CM didn't receive an acknowledgment heartbeat message back, the node is considered unavailable, and a state transition from Alive to Down takes place for that node by CM.[11] The procedures or scripts to run, and actions to take between each state transition is an implementation detail of the system.

Heartbeat network

[edit]

Heartbeat network is a private network which is shared only by the nodes in the cluster, and is not accessible from outside the cluster. It is used by cluster nodes in order to monitor each node's status and communicate with each other messages necessary for maintaining the operation of the cluster. The heartbeat method uses the FIFO nature of the signals sent across the network. By making sure that all messages have been received, the system ensures that events can be properly ordered.[12]

In this communications protocol every node sends back a message in a given interval, say delta, in effect confirming that it is alive and has a heartbeat. These messages are viewed as control messages that help determine that the network includes no delayed messages. A receiver node called a "sync", maintains an ordered list of the received messages. Once a message with a timestamp later than the given marked time is received from every node, the system determines that all messages have been received since the FIFO property ensures that the messages are ordered.[13]

In general, it is difficult to select a delta that is optimal for all applications. If delta is too small, it requires too much overhead and if it is large it results in performance degradation as everything waits for the next heartbeat signal.[14]

See also

[edit]

Notes

[edit]
  1. ^ a b Hou & Huang 2003, p. 1.
  2. ^ "Definition of Heartbeat". pcmag.com Encyclopedia. Retrieved 7 October 2020.
  3. ^ a b Robertson 2000, p. 1.
  4. ^ US 4710926, Donald W. Brown, James W. Leth, James E. Vandendorpe, "Fault recovery in a distributed processing system", published 2025-08-05 
  5. ^ Kawazoe Aguilera, Marcos; Chen, Wei; Toueg, Sam (1997). "Heartbeat: A timeout-free failure detector for quiescent reliable communication" (PDF). Distributed Algorithms. Berlin, Heidelberg: Springer Berlin Heidelberg. pp. 126–140. doi:10.1007/bfb0030680. hdl:1813/7286. ISBN 978-3-540-63575-8. ISSN 0302-9743.
  6. ^ a b Robertson 2000, p. 2.
  7. ^ Robertson 2000, p. 1-2.
  8. ^ Robertson 2000, p. 2-3.
  9. ^ Robertson 2000, p. 5.
  10. ^ Li, Yu & Wu 2009, p. 2.
  11. ^ Li, Yu & Wu 2009, p. 2-3.
  12. ^ Nikoletseas 2011, p. 304.
  13. ^ Nikoletseas 2011, p. 304-305.
  14. ^ Nikoletseas 2011, p. 306.

References

[edit]
吃黑米有什么好处和坏处 糠是什么 抚摸是什么意思 悠是什么意思 lo娘是什么意思
中耳炎挂什么科 怀孕是什么感觉 房性早搏是什么意思 巾帼不让须眉什么意思 退步是什么意思
胃粘膜脱落什么症状严重吗 吃什么最健康 碧玺五行属什么 梦见自己娶媳妇是什么意思 属羊的和什么属相最配
将军是什么级别 喉咙老是有白痰是什么原因 老鼠屎长什么样子 胆小如鼠的意思是什么 男生做爱什么感觉
春风什么什么hcv8jop3ns7r.cn 吃什么会回奶hcv9jop3ns4r.cn 吃桂圆有什么好处hcv8jop3ns0r.cn 胃反流吃什么药好hcv8jop8ns7r.cn 孩子脾胃虚弱吃什么药hcv8jop0ns2r.cn
躺平是什么意思hcv7jop7ns0r.cn 提前吃什么喝酒不醉hcv8jop9ns8r.cn 12.24是什么星座hcv9jop7ns3r.cn 生普洱和熟普洱有什么区别hcv8jop8ns6r.cn 肺结节吃什么好qingzhougame.com
月经过后腰酸疼是什么原因hcv7jop9ns2r.cn 头爱出汗是什么原因引起的hcv9jop3ns2r.cn 两胸中间疼是什么原因hcv9jop0ns1r.cn lm是什么意思hcv8jop9ns1r.cn 猪肝跟什么相克hcv7jop4ns6r.cn
晨咳是什么原因引起的hcv7jop7ns3r.cn 怀孕两个月出血是什么原因xianpinbao.com 肠胃感冒什么症状hcv8jop6ns1r.cn 什么叫刑事拘留hlguo.com 什么的医生96micro.com
百度