大规模业务服务器开发总结 | liubo



大规模业务服务器开发总结 | liubo

有层级的服务比普通SOA好

SOA要求我们把各业务逻辑服务化,没有层级的服务化就是噩梦。主要服务之间一定要有金字塔一样的规则,否则会对各种跨机房、迁移等带来麻烦

kv存储比RDS好

只用kv,存储层维持状态,扩展、迁移都大大降低难度。使用rds,qps变化时延迟并不是线性变化,kv就能保证这点。维护状态的一层大多在db,
以kv这样容易扩展的方式,更加利于未来的迁移和扩张。

无状态比有状态好

服务带上状态,以后迁移、扩容各种毛病,只要有一个理由可以不要状态,就一定要无状态。

闭源比开源好

开源项目都是解决共性需求,规模越大,越是有特性,越不可能开源,闭源可以省很多事

组成系统的必要服务
把设计的成果讲给别人听
设计的改变不可避免
上游服务的health check,本身服务的high availability

在普通架构师们眼里,微服务、异步消息队列、重用甚至开源是很酷的事情,但在一线架构师眼里……有趣的反常识
不超过1年的时间里,无论当初采用何种技术框架,应用何种架构,缓慢地混乱的过程似乎是不可抗拒的宿命


Read full article from 大规模业务服务器开发总结 | liubo


No comments:

Post a Comment

Labels

Algorithm (219) Lucene (130) LeetCode (97) Database (36) Data Structure (33) text mining (28) Solr (27) java (27) Mathematical Algorithm (26) Difficult Algorithm (25) Logic Thinking (23) Puzzles (23) Bit Algorithms (22) Math (21) List (20) Dynamic Programming (19) Linux (19) Tree (18) Machine Learning (15) EPI (11) Queue (11) Smart Algorithm (11) Operating System (9) Java Basic (8) Recursive Algorithm (8) Stack (8) Eclipse (7) Scala (7) Tika (7) J2EE (6) Monitoring (6) Trie (6) Concurrency (5) Geometry Algorithm (5) Greedy Algorithm (5) Mahout (5) MySQL (5) xpost (5) C (4) Interview (4) Vi (4) regular expression (4) to-do (4) C++ (3) Chrome (3) Divide and Conquer (3) Graph Algorithm (3) Permutation (3) Powershell (3) Random (3) Segment Tree (3) UIMA (3) Union-Find (3) Video (3) Virtualization (3) Windows (3) XML (3) Advanced Data Structure (2) Android (2) Bash (2) Classic Algorithm (2) Debugging (2) Design Pattern (2) Google (2) Hadoop (2) Java Collections (2) Markov Chains (2) Probabilities (2) Shell (2) Site (2) Web Development (2) Workplace (2) angularjs (2) .Net (1) Amazon Interview (1) Android Studio (1) Array (1) Boilerpipe (1) Book Notes (1) ChromeOS (1) Chromebook (1) Codility (1) Desgin (1) Design (1) Divide and Conqure (1) GAE (1) Google Interview (1) Great Stuff (1) Hash (1) High Tech Companies (1) Improving (1) LifeTips (1) Maven (1) Network (1) Performance (1) Programming (1) Resources (1) Sampling (1) Sed (1) Smart Thinking (1) Sort (1) Spark (1) Stanford NLP (1) System Design (1) Trove (1) VIP (1) tools (1)

Popular Posts