06 2015 档案

摘要:http://stackoverflow.com/questions/1480236/does-a-tcp-socket-connection-have-a-keep-alivehttp://stackoverflow.com/questions/2735883/relation-between-h... 阅读全文
posted @ 2015-06-11 09:36 JosephLiao 阅读(238) 评论(0) 推荐(0)
摘要:Reference: Getting started with NIOTable of contentsBefore you startInput/output: A conceptual overviewChannels and buffersFrom theory to practice: Re... 阅读全文
posted @ 2015-06-08 15:06 JosephLiao 阅读(244) 评论(0) 推荐(0)
摘要:基本概念通常HTTP协议的模型是 Request ---> Respond , 客户端主动发起请求,而服务器不会主动向客户端发起通信。为了达到数据同步,通常会采用Polling方式:客户端定时查询服务器。缺点是浪费带宽,响应有延迟(与查询间隔有关)。解决办法【Server Push】 推送技术基于H... 阅读全文
posted @ 2015-06-02 17:27 JosephLiao 阅读(219) 评论(0) 推荐(0)