随笔分类 -  Software Architecture

摘要:Replication provides redundancy so that in case of hardware failure, the service is still available Replication provides redundancy so that in case of 阅读全文
posted @ 2018-05-02 17:14 小张的练习室 阅读(182) 评论(0) 推荐(0)
摘要:正向代理 Proxy 代理访问外部资源。它隐藏了真实的请求客户端,服务端不知道真实的客户端是谁,客户端请求的服务都被代理服务器代替来请求。对公司内网来说,代理服务器可以帮助内网用户访问任意外部网址,也可以禁止访问一些网址。 e.g. 国内访问google.com,可以使用代理服务器。 访问原来无法访 阅读全文
posted @ 2018-01-02 21:38 小张的练习室 阅读(165) 评论(0) 推荐(0)
摘要:References [1] https://logback.qos.ch/ [2] https://stackoverflow.com/questions/178215/log4j-vs-logback [3] https://howtodoinjava.com/log4j/slf4j-vs-lo 阅读全文
posted @ 2017-11-16 20:03 小张的练习室 阅读(371) 评论(0) 推荐(0)
摘要:Reference: [1] http://www.cnblogs.com/metoy/p/6935296.html TCP为了提高带宽利用率和吞吐量,做了各种优化。比如delay ack和Nagle算法。就是这样的一些优化使用不慎,导致陷入性能问题。 什么是delay ack 就以Nginx为例吧 阅读全文
posted @ 2017-06-03 00:16 小张的练习室 阅读(183) 评论(0) 推荐(0)
摘要:X86是32位操作系统,X64是64位操作系统。32位操作系统最大支持4GB内存,64位操作系统理论上支持2的64次方实际上支持128GB或更多。支持内存的不同是由于不同处理器所能支持的内存寻址不同决定的。 阅读全文
posted @ 2017-05-23 05:19 小张的练习室 阅读(158) 评论(0) 推荐(0)
摘要:转载自:http://blog.csdn.net/u010028869/article/details/50773174?ref=myread 前言 在搭建完集群环境后,不得不考虑的一个问题就是用户访问产生的session如何处理。如果不做任何处理的话,用户将出现频繁登录的现象,比如集群中存在A、B 阅读全文
posted @ 2017-05-10 23:54 小张的练习室 阅读(192) 评论(0) 推荐(0)
摘要:CoreOS CoreOS Container Linux is the leading container operating system, designed to be managed and run at massive scale, with minimal operational ove 阅读全文
posted @ 2017-05-04 04:34 小张的练习室 阅读(294) 评论(0) 推荐(0)
摘要:Better to use a circuit breaker which supports the following set of features: Automatically time-out calls that take longer than a defined threshold. 阅读全文
posted @ 2017-01-18 22:19 小张的练习室 阅读(158) 评论(0) 推荐(0)