摘要:
1. CAP理论 cap理论是分布式系统的理论基石 Consistency (一致性): “all nodes see the same data at the same time”,即更新操作成功并返回客户端后,所有节点在同一时间的数据完全一致,这就是分布式的一致性。一致性的问题在并发系统中不可避 阅读全文
摘要:
1.覆盖索引 covering index: https://blog.csdn.net/cckevincyh/article/details/119655516 2.pk must be a clustered index normal index can be clusted index or 阅读全文
摘要:
Domain-driven (DDD) is a business-oriented modeling method or architecture method. Traditional data drivers are generally MVC architecture, which is a 阅读全文
摘要:
1. package management go package management1. history2. go modules GOPATH: Unified package storage path- not support version control of dependency pac 阅读全文
摘要:
Service Discovery 1. register & pull config info2. register center itself should be distributed3. health monitorzookeeper(java)consul & etcd consul in 阅读全文
摘要:
1. support several formats of configuration config.yaml name: 'bobby' port: 12334 main.go to quick start package main import ( "fmt" "github.com/spf13 阅读全文