自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

TragicJun的专栏

A little bit everyday

  • 博客(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

原创 【Hadoop】RPC Serialization Format

本文学习如何将远程调用的输入参数和输出返回值的序列化格式

2013-05-22 00:50:12 3453 2

原创 【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

Linux内核完全注释

学习Linux源代码不可多得的好书,推荐下载!!

2008-02-29

Understanding The Linux Kernel(pdf)

经典书籍不用多介绍了,英文版pdf

2008-02-29

Thinking in C++

英文html.每章一个html,方便学习!!

2008-02-29

The C++ Programming Language(Third Edition)

英文版pdf,强烈推荐!!

2008-02-29

Data.Structures.and.Algorithm.Analysis.in.C

英文版chm,强烈推荐!!

2008-02-29

Pragramming windows with MFC

second edition!<br>英文版chm,强烈推荐!

2008-02-29

Thinking in paterns(Java)

Thinking in Java的作者的另一经典著作!

2008-02-29

数据结构与算法分析(Java版)

英文版pdf格式,推荐!!

2008-02-29

Pragramming windows

Pragramming windows 5th edition<br>英文版chm

2008-02-29

Computer_Networks_4th_Edition

Computer_Networks_4th_Edition.chm英文版!

2008-02-29

Modern Operating System

好书不用多介绍了!英文版pdf格式

2008-02-29

Understanding the Linux Kernel

OReilly - Understanding the Linux Kernel - 2nd Edition.chm

2008-02-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除