Giter VIP home page Giter VIP logo

nebo's Introduction

nebo

  1. 支持多协议springboot container

  2. 支持单端口多协议(http thrift hessian)

如何使用

  1. 在项目中引入nebo

  2. 编写配置类定义NettyEmbeddedServletContainerFactory,用于通知springboot启用自定义servlet container (默认支持http协议)

  3. 发布thrift服务,把iface实现类同时实现ThriftEndpoint接口即可 (支持thrift协议)

  4. 发布hessian服务,把需要暴露的类使用HessianEndpoint修饰即可 (支持hessian协议)

性能

测试工具 JMETER

  1. HTTP协议 ,简单ECHO测试

    200并发下,nebo吞吐量约为10000 tomcat吞吐量约为12000

    400并发下,nebo吞吐量约为11000 tomcat吞吐量约为10000

接下来计划

  1. 优化nebo性能
  2. 由于hessina基于http协议,没法通过mic路由处理,重构讲取消hessian, 所以计划在protobuf基础,设计一套nebo协议 初步协议格式 : |mic|seqid|size|service|protobuf|
  3. 设计服务治理接口
  4. 增加多一个监控模块

待续。。。。。

PS: 预计半年完成!!!!!!!不偷懒的话

nebo's People

Contributors

paullyphang avatar

Watchers

James Cloos 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.