experences on building a reliable service
来源:互联网 发布:汉文化 知乎 编辑:程序博客网 时间:2024/05/29 06:40
why Twilio wasn't affected by AWS crash(http://www.twilio.com/engineering/2011/04/22/why-twilio-wasnt-affected-by-todays-aws-issues/),
there some important experences:
1, by building simple services composed of a single host, rather than multiple dependent hosts, one can create replicated instances that can survive host failures.
For example, if we had an application that consisted of business logic component A, B, C each of which had to live on separate host, we could compose service group (A, B, C), (A, B, C)… or, we could create component pools (A, A, …), (B, B, …), (C, C, …). With the composition (A, B, C), a single machine failure would result in the loss of a whole system group. By decomposing resources into independent pools, a single host failure only results in the loss of a single host’s worth of functionality.
// i think it's a good experence for system design
2, short timeouts and quick retries
by running multiple redundant copies of service, software should quickly identify those failures and retries to route around failed or slow service.
so, our strategy of avoiding slow location is follow it.
3, relax consistency requirements
when strict consistency is not required, you can partition the reading and writing of data.
- experences on building a reliable service
- Building a RESTful Web Service
- Building a RESTful Web Service
- Building a RESTful Web Service
- Software Development: Building Reliable Systems
- SpringBoot 之 Building a RESTful Web Service
- Spring Building a RESTful Web Service
- Spring Boot: Building a RESTful Web Service
- on building up a quantitative analysis tool
- ceph 译文 RADOS:A Scalable, Reliable Storage Service for Petabyte-scale Storage Clusters
- Building Reliable and Efficint FPGA Designs
- Building a JSON web service with Java and Axis2
- Building a JSON web service with Java and Axis2
- android TV-Building TV Channels,Developing a TV Input Service
- 教程学习 01-Building a RESTful Web Service 学习笔记
- RailsSpace: Building a Social Networking Website with Ruby on Rails
- Building an IIS web server on a home LAN
- Building a two-node IBM cluster on IBM AIX
- 软件开发高手须掌握的4大SQL精髓语句综
- C#委托与事件*
- UML关系(泛化,实现,依赖,关联(聚合,组合))
- Android 中的数据存取方式之一: Preference(配置) .
- Linux系统调用详解
- experences on building a reliable service
- Linux中查看CPU信息
- C++ Primer习题5.18
- Android LockScreen
- 数据加密方法介绍 简单到深入
- android 实现listview的分页加载
- 浅谈ORM对象关系数据库映射
- DBO 预处理语句和存储过程
- android 获取正在运行的应用程序列表 .