
分布式
文章平均质量分 58
寒士一枚
所谓门槛,能力到了就是门,反之就是个槛
展开
-
RPC
分布式RPC基本概念 服务调用 java动态代理消息编码解码 消息格式、序列化(hessian、protobuf、thrift、avro)通信 BIO/NIO 基于netty 注册中心 zookeeper “心跳检测”RPC框架gRPCThriftWIndfy8Dubbo自己实现一个简单的PRC框架原创 2017-06-26 23:15:34 · 249 阅读 · 0 评论 -
定时任务设计(二):Quartz
核心接口和类Scheduler接口:调度器接口,包含任务的调度管理;Job接口:自定义的“定时程序”实现此接口的 void execute(JobExecutionContext arg0)方法,Job还有一类为有状态的StatefulJob接口,如果我们需要在上一个作业执行完后,根据其执行结果再进行下次作业的执行,则需要实现此接口。JobDetail类:具体某个定时程序的详细描述,包括Name,原创 2017-12-01 22:07:53 · 1214 阅读 · 0 评论 -
Zookeeper Watcher
Clients can set watches on znodes. Changes to that znode trigger the watch and then clear the watch. When a watch triggers, ZooKeeper sends the client a notification definition a watch event is one-...原创 2018-11-09 13:45:46 · 244 阅读 · 0 评论