- 博客(12)
- 资源 (13)
- 收藏
- 关注
原创 Browser Caching for GWT RPC Response
最近在学习Web System中的Caching技术,其中一种常见的是browser cache,对HTTP GET response应用cache,并通过某些HTTP Header字段控制cache policy。然而,我们web server是基于GWT开发,GWT有自己的一套RPC系统,利用HTTP POST实现client和server之间的异步通讯。这时候问题就来了,用户每一次点击将会触
2013-05-29 20:48:49 1213
原创 【Hadoop】RPC Serialization Format - 代码描述
在前面一篇文章http://blog.csdn.net/tragicjun/article/details/8958154中大致总结了RPC消息序列化的格式,这里从代码层来描述。Client-sideRPC Headerorg.apache.hadoop.ipc.Client.call() --> getConnection() --> Connection.setupIOstre
2013-05-23 00:54:29 1423
原创 【Reading】2013-05, 06, 07, 08
http://hortonworks.com/blog/moving-hadoop-beyond-batch-with-apache-yarn/ 分析Hadoop YARN出现的原因,主要的角度是SQL in Hadoop;http://blog.cloudera.com/blog/2013/05/cloudera-development-kit-cdk/ 此前Cloudera推出Clouder
2013-05-19 14:42:18 1071
原创 【Hadoop】RPC Server Workflow
RPC Server的实现用到了Thread,Cocurrency,NIO等技术,对于学习者来说是很好的实践参考。这里先把workflow理清楚,再去研究具体的实现细节。如下图所示,其主要涉及到以下几种线程:Listener线程:以selectServerSocketChannel的方式监听Client的connect请求;对于每一个Client请求,由ServerSocketCh
2013-05-18 21:51:23 2066 2
原创 【Learning】TimeZone Issue Summary
We have been confused about time zone issues in Alcazar development. Since we need to persist java bean objects into database, we use java.sql.Timestamp to represent times all over the place. A basi
2013-05-18 15:53:49 1133
原创 【Hibernate】 Performance Tuning
Fetching StrategyEager FetchingEagerly fetched associations or collections will be fetched when loading their parent object. Retrieving unnecessary data imposes extra load on both the database
2013-05-18 01:46:07 1381
原创 【Spring】@Autowired and @Resource
Given that Spring can autowire either by type or by name, it is always confusing to me that what is the default behavior when using annocation @Autowired or @Resource to do the autowire. Therefo
2013-05-18 01:32:14 2453
原创 【Hadoop】RPC Overview
Hadoop中不同Process或不同Node之间的通讯方式是RPC,因而实现了一个内部的RPC机制,基于TCP和内部Serialization机制。包org.apache.hadoop.ipc主要提供了两个基础类Client和Server,顾名思义是分别提供给通讯客户端和通讯服务器段使用。RPC Client和Server类封装所有通讯协议、序列化等底层操作,但具体有哪些远程调用,需要由上层
2013-05-09 01:51:13 1908
原创 【Learning】Java Date and Time
1. There are four commonly used date time classes in Java: 1.1 java.util.Date1.2 java.sql.Date1.3 java.sql.Timestamp1.4 java.util.Calendar. 2. sql.Date and sql.Timest
2013-05-07 20:20:55 1134
原创 【Learning】Distributed System - Serialization
Serialization is the process of turning structured objects into a byte stream for transmissionover a network or for writing to persistent storage. Deserialization is the reverseprocess of turning a
2013-05-07 20:20:08 1105
原创 【Learning】Thinking in Architecture
1. Communication Approach1.1. Web Service (REST vs SOAP)(JAX-WS vs JAX-RS)http://geeknizer.com/rest-vs-soap-using-http-choosing-the-right-webservice-protocol/http://spf13.com/post/soap-vs-rest
2013-05-07 20:15:02 930
Understanding the Linux Kernel
2008-02-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人