10 2017 档案
加速和监控国际网络
摘要:走udp明显更稳定,而用tcp,无论你是直连,或者走香港中转,还是其他地方中转,都无法保持稳定。反而不如udp直连。(唯一稳定的是美国到中国的) 监控采用的是influxdb和grafana。只需要写sql,grafana能自动显示图表。influxdb往里面写入一些map就行,其中tag是索引,支 阅读全文
posted @ 2017-10-29 14:08 dearplain 阅读(248) 评论(0) 推荐(0)
高性能无锁队列,代码注释
摘要:性能非常强大,和Disruptor的无锁队列一样,达到1400w/s。 对比其他Disruptor实现(https://github.com/LMAX-Exchange/disruptor, https://github.com/smartystreets/go-disruptor),这个实现太简洁 阅读全文
posted @ 2017-10-12 12:02 dearplain 阅读(1341) 评论(0) 推荐(0)