自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

sunning9001的专栏

而今漫步从头越,苍山如海,残阳如血

  • 博客(10)
  • 资源 (11)
  • 收藏
  • 关注

原创 Memcached namespaces

NamespacingMemcached does not natively support namespaces or tags.It's difficult to support this natively as you cannot atomically expire the namespaces across all of your servers without adding quite...

2017-04-22 22:02:10 429

原创 Redis Data Layout

0Redis Data LayoutTo better understand the data layout, it helps to identify the main "domain" objects inside RetwisJ.In its current form, RetwisJ allows users to be created, to postmessages, to follo...

2017-04-22 21:58:52 457

原创 Apache mina: IoSession.write(Object msg)剖析

在apache mina中通过IoSession 写入数据,返回一个Future可以获取写入数据的结果。NioSocketSession(AbstractIoSession).write(Object)  NioSocketSession(AbstractIoSession).write(Object, SocketAddress) .IoSession通过FilterChain

2017-04-22 21:58:14 2969

原创 Armeria 小试牛刀

HelloService.thrift 定义服务接口namespace java com.example.thriftservice HelloService { string hello(1:string name)}使用thrift-0.9.3.exe 工具,命令:thrift-0.9.3 -r --gen java HelloService.thrift 在当前文件夹g

2017-04-22 21:57:02 3021

原创 Apache Mina 源码再读6 Executor

Do I need to make my IoHandler thread-safe?It depends on your implementation. If you access the resource which is shared across multiple sessions, you have to make it thread-safe. If the resourc

2017-04-07 09:48:59 438

原创 Apache Mina 源码再读5 IoSession.close() 源码剖析

Apache Mina IoSession.close(immediately =true) 关闭流程小结:1 、当线程调用IoSession.close(immediately =true) 时,会创建一个CLOSE_REQUEST 写请求。并返回一个CloseFuture 异步操作2、当Processor在处理IoSesion写数据过程中,会把队列中所有排队的消息写入操作系统缓冲区。3、当轮询到最后一个Close_Future 请求时,此时,等待写入的消息都已经写入到缓冲区。此时,IoS

2017-04-07 09:48:40 3472

原创 Apache Mina 源码再读4 IoSession.write()源码剖析

Apache Mina IoSession.write(Object message) 写出数据流程小结:1、Processor 线程首选轮询newSessions中每一个IoSession. 然后,把IoSession 放到IoService 的managedSessions中进行管理追踪。2、当IoSession.write(Object message) 调用时,会创建一个WriteFuture 对象,并创建一个WriteRequest 对象,把这个对象增加到每一个IoSession关联的Wr

2017-04-07 09:48:22 4403 1

原创 Apache mina 源码再读3 I/O Service 源码剖析

Base interface for all  IoAcceptor  and  IoConnector  that provide I/O service and manage   IoSession.public interface IoService { }IoAcceptor 和IoConnector  的基础接口IoService 来提供I/O服务和管理IoSessi

2017-04-07 09:48:04 345

原创 Apache Mina 源码再读2 IoSession创建过程源代码剖析

在调用bind()函数后,AcceptorOperationFuture 被注册到AbstractPollingIoAcceptor 类中的registerQueue 队列。在AbstractPollingIoAcceptor中存在IoProcessor 类。/** * An internal interface to represent an 'I/O processor' th

2017-04-07 09:47:43 501

原创 Apache Mina 源码再读 1 Bind过程以及DefaultIoFuture源码

1 、bind 事件  在服务器端调用public final void bind(SocketAddress... addresses) throws IOException 方法绑定本地端口时,仔细看看,Apache Mina 在bind()本地端口做了哪些事情? protected final Set bindInternal(List localAddresses) t

2017-04-07 09:47:17 517

跟我学prince2系列讲座第一讲

跟我学prince2系列讲座第一讲 全套4讲,第一讲 Prince2概述 杨泉

2018-04-28

Prince2项目管理知识框架的简介

讲解Prince2项目管理知识框架的基本原则,以及在Prince2框架下其他相关知识

2018-04-28

PMbok6 新增敏捷 映射

PMbok6 新增敏捷 映射 更新解读 PMP PMI PMbok6 新增敏捷 映射 更新解读 PMP PMI PMbok6 新增敏捷 映射 更新解读 PMP PMI

2018-04-24

PMBOK6 与敏捷 发展 将来

PMBOK6 更新 与敏捷 PMBOK6 更新解读 PMBOK6 与敏捷 发展 将来

2018-04-24

netty proxy 代理例子

使用netty作为proxy的例子。 maven。 直接运行

2016-06-01

webbit 源代码

基于netty 框架的httpserver 服务器,源代码和jar 。

2015-12-11

Scalable IO in Java -Doug Lea

Scalable IO in Java -Doug Lea 描述java nio 和reactor 设计模式之间的关系

2015-07-10

java nio and reactor

java nio 作者的ppt。 How to Build a Scalable Multiplexed Server With NIO 文中讲述如何使用java nio来实现高性能的服务器。 1、建立高性能服务器遇到问题? 2、java nio 和 reactor 的映射关系 3、如果使用java nio 来实现高性能服务器

2015-07-10

flex air案例

AIR的 Hello world,写给那些知道一点AIR,想要开始AIR开发的人。读这篇教程你可以没有任何Flex的基础,我会告诉你如何创建你的第一个项目,并且发布一个HelloWorld程序。

2011-05-29

空空如也

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

TA关注的人

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