https://raw.githubusercontent.com/dillonzq/LoveIt/master/exampleSite/assets/images/avatar.png

nat

专有网络VPC的视频简介和组成_专有网络 VPC-阿里云帮助中心 - https://help.aliyun.com/zh/vpc/product-overview/what-is-a-vpc switch vs router switch store mac address in a lookup table router store ip address in the routing table; forward data packet between computer networks NAT network address transalation snat: translate source ip dnat: translate destination ip ; 详解SLB、EIP、NAT网关之间区别, 合理选择云上公网入口 public ip eip (elastic ip):弹性ip nat (network address translation): nat网关 slb(server load balance) 底层都是都过nat实现 可用区 可用区:同一地区的不同的地方;电力和网络相互隔; 同一地域的不同可用区内网互联

basic

后端 - Go defer 原理和源码剖析 - 个人文章 - SegmentFault 思否 - https://segmentfault.com/a/1190000040950441 The empty struct defer type form basic or not: basic: int, int8,int32 float32,float34 string composite type: container: array map slice pointer channel; struct; interface function value type and reference type. value type: store and pass: 值本身 对子字段(元素)修改不会影响原值 reference type: store and pass: 值的引用(pointer) value type: basic type Numeric types: int, int8, int16, int32, int64 uint, uint8, uint16, uint32, uint64, uintptr float32, float64 complex64, complex128 Boolean type: bool String type: string Array type: []T Struct type: struct{} reference type:

go types

comparale; what? use “==” to compare comparable: basic type channel: equal when same reference; arrays: if elements are comparable; struct: if fields are comparable; interface: if: dymanic types are comparable OR: panic,comparable uncomparable types; uncomparable: map; function slice how to compare funciton, slice, map; reflect.Deepequal slice equal when : all element == map: keys,values are ==; function: both nil defer what what? a function will be called at last; feature? stack: FILO; how linked list node: {deferF *func,parameters interface{}}

redis and cache

Redis 系列(二): 连集合底层实现原理都不知道,你敢说 Redis 用的很溜? 压缩列表 数据库 Redis(2)——跳跃表 缓存系统稳定性 - 架构师峰会演讲实录 Redis专题:万字长文详解持久化原理 Bloom Filters - the math All About Bloom Filters Redis 6.0 新特性:带你 100% 掌握多线程模型 Redis进阶 - 高可用:哨兵机制(Redis Sentinel)详解 Redis Sentinel-深入浅出原理和实战 high performace 多线程? 提高数据处理速度: read,decode,write, 折中的master-worker,总体看还是单线程 mechanism basic structure dbList: bList:[redisDB1,redisDB2,…] store form: value dict: dict[stringRedisobj] = some redisObj expire dict: dict[strinngRedisObj] = expire time reids object: econding: underlying implement 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 typedef struct redisObject { // 类型 unsigned type:4; // 对齐位 unsigned notused:2; // 编码方式 unsigned encoding:4; // LRU 时间(相对于 server.

distributed system(computing)

持续可用cap What is the CAP theorem? CAP Theorem 资深程序员实践经验:大白话讲解“什么是CAP定理?” What is the CAP Theorem? MongoDB vs Cassandra vs RDBMS, where do they stand in the CAP theorem? 00 开篇词 吃透分布式数据库,提升职场竞争力 https://draveness.me/consensus/ 共识、线性一致性与顺序一致性 分布式系统中的Linearizability一致性的概念介绍 「分布式计算」什么是严格一致性和最终一致性? 「图解Raft」让一致性算法变得更简单 Raft算法详解 ETCD背后的Raft一致性算法原理 一文搞懂Raft算法 Raft 协议实战系列(六)—— 线性一致性与读性能优化 Introduction to the Raft algorithm The Raft Consensus Algorithm etcd教程(七)—读请求执行流程分析 Strong consistency models Consistency Models 分布式系统中的一致性模型`` CAP Theorem for Databases: Consistency, Availability & Partition Tolerance raft paper Making sense of the RAFT Distributed Consensus Algorithm — Part 1

cron

what is cron cron is time based job scheduler in unix like system; it is base on local time zone; CRON 1 2 3 4 5 6 7 8 9 # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; # │ │ │ │ │ 7 is also Sunday on some systems) # │ │ │ │ │ # │ │ │ │ │ # * * * * * <command to execute>