Huabing Blog

路在脚下,心向远方

VIP的实现原理

VIP即Virtual IP Address,是实现HA(高可用)系统的一种方案,高可用的目的是通过技术手段避免因为系统出现故障而导致停止对外服务,一般实现方式是部署备用服务器,在主服务器出现故障时接管业务。 VIP用于向客户端提供一个固定的“虚拟”访问地址,以避免后端服务器发生切换时对客户端的影响。

Machine Learning Introduction

Machine Learning-Week 1

What is machine learning? Two definitions of machine learning are offered. Arthur Samuel version: A field of study that gives computers the ability to learn without being explicitly programmed. Tom Mitchell version: A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E. Example: playing checkers. E

Bitcoin Script

Bitcoin and Cryptocurrency Technologies-Week 3

Bitcoin Script is using to transfer coins instead of just signature and public key address, which allows more flexibilities for Bitcoin transactions

Distributed Consensus

Bitcoin and Cryptocurrency Technologies-Week 2

How the nodes in the bitcoin network reach consensus on the transactions?

Incentives and Proof of Work

Bitcoin and Cryptocurrency Technologies-Week 2

How bitcoin system implements the mechanism to motivate the participants and how the participants prove their work?