Giter Site home page Giter Site logo

bazinga's Introduction

bazinga

简单的RPC Demo

模仿jupiter

知识点总结:

##1) netty知识点

NIO概念模型

NIO学习

selector源码解析

##2) 设计模式

##3) metrics性能测试工具

提供者端提供请求性能分析报告,使用metrics

详细介绍查看:

介绍metircs1

介绍metircs2

自测时遇到的坑或者bug

① 异常: Reading from a byte array threw an IOException

原因:序列化传入的对象是A,反序列化要求转换的java对象是B,A序列化的bytes无法匹配B,protostuff中的ProtostuffIOUtil.mergeFrom(bytes, message, schema)方法报错

没有解决的问题

client消费端的代码存在设计问题,因为client端有两个职责,一是去连接registry,二是根据registry返回过来的服务提供地址去连接服务提供者,所以他们都需要去继承NettyConnector ,所以这边DefaultConsumer继承与DefaultConsumerRegistry这种设计无法完成,无法完成DefaultConsumer继承NettyConnector来简化Netty的初始化工作

bazinga's People

Contributors

bazingalyn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.