Coding Life

A journey of a thousand miles begins with a single step

0%

libuv and TCP Keepalive

About Keepalive

The keepalive discussed here is different from HTTP keepalive. Here we are talking about TCP-level keepalive. Its purpose is to detect network failures between two communicating machines when neither endpoint can immediately observe that the path has broken.

HTTP keepalive means adding a keep-alive header so the server does not close the TCP connection after a single request, allowing the same connection to be reused for later requests.

The Linux kernel documentation for TCP keepalive is here: http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html

redis 高可用

redis 事务

orderbook 在 redis 中的存储

数据库结构及订单存储

撮合引起启动时初始数据,及同步验证

启动

异步

哪些可以异步,哪些必须顺序执行?

故障定位,故障解决

性能