上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 55 下一页
1、RPC与RMI(1)RPC 跨语言,而 RMI只支持Java。(2)RMI 调用远程对象方法,允许方法返回 Java 对象以及基本数据类型,而RPC 不支持对象的概念,传送到 RPC 服务的消息由外部数据表示 (External Data Representation, XDR) 语言表示,这种... Read More
posted @ 2015-12-10 17:12 等风来。。 Views(487) Comments(0) Diggs(0) Edit
Global interpreter lock (GIL) is a mechanism used in computer language interpreters to synchronize the execution of threads so that only one native th Read More
posted @ 2015-12-10 10:53 等风来。。 Views(630) Comments(0) Diggs(0) Edit
compilecompile是默认的范围;如果没有提供一个范围,那该依赖的范围就是编译范围。编译范围依赖在所有的classpath中可用,同时它们也会被打包。providedprovided依赖只有在当JDK或者一个容器已提供该依赖之后才使用。例如,如果你开发了一个web应用,你可能在编译class... Read More
posted @ 2015-11-26 09:55 等风来。。 Views(141) Comments(0) Diggs(0) Edit
escape() Don't use it, as it has been deprecated since ECMAScript v3. encodeURI() Use encodeURI when you want a working URL. Make this call: to get: D Read More
posted @ 2015-11-20 17:48 等风来。。 Views(245) Comments(0) Diggs(0) Edit
一。TCP 状态值 netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' CLOSED:无连接是活动的或正在进行LISTEN:服务器在等待进入呼叫SYN_RECV:一个连接请求已经到达,等待确认SYN_SENT:应用 Read More
posted @ 2015-11-16 23:04 等风来。。 Views(8828) Comments(1) Diggs(0) Edit
一、链路的有效性检测 当网络发生单通、连接被防火墙Hang住、长时间GC或者通信线程发生非预期异常时,会导致链路不可用且不易被及时发现。 特别是异常发生在凌晨业务低谷期间,当早晨业务高峰期到来时,由于链路不可用会导致瞬间的大批量业务失败或者超时, 这将对系统的可靠性产生重大的威胁。 从技术层面看,要 Read More
posted @ 2015-11-13 23:54 等风来。。 Views(1582) Comments(0) Diggs(0) Edit
# 对序列进行操作' '.join(['hello','good','boy','doiido'])hello:good:boy:doiido # 对字符串进行操作':'.join("hello good boy doiido") h:e:l:l:o: :g:o:o:d: :b:o:y: :d:o... Read More
posted @ 2015-11-05 22:21 等风来。。 Views(141) Comments(0) Diggs(0) Edit
http://www.zhihu.com/question/20511233/answer/24260355没有啥复杂的东西,考虑清楚需求,就可以很自然的衍生出这些解决方案。一开始大家想要同一时间执行那么三五个程序,大家能一块跑一跑。特别是UI什么的,别一上计算量比较大的玩意就跟死机一样。于是就有了... Read More
posted @ 2015-10-29 14:52 等风来。。 Views(168) Comments(0) Diggs(0) Edit
一。int socket(int domain, int type, int protocol)1.domain --指定使用何种的地址类型PF_INET, AF_INET: Ipv4网络协议PF_INET6, AF_INET6: Ipv6网络协议AF = Address FamilyPF = Pr... Read More
posted @ 2015-10-25 12:59 等风来。。 Views(4431) Comments(0) Diggs(0) Edit
@Resource默认是按照名称来装配注入的,只有当找不到与名称匹配的bean才会按照类型来装配注入;@Resource注解是J2EE提供,而@Autowired是由Spring提供,故减少系统对spring的依赖建议使用@Resource的方式;@Autowired默认是按照类型装配注入的,如果想... Read More
posted @ 2015-10-17 17:55 等风来。。 Views(193) Comments(0) Diggs(0) Edit
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 55 下一页
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------