Giter Site home page Giter Site logo

rpc_framework's Introduction

RPC_Framework

基于TCP协议的远程过程调用框架——客户端,服务端基于TCP协议实现的一套RFC(远程过程调用)框架。

  1. 客户端和服务端均分为业务层,协议层(JSON),网络层(libevent),可以根据自己的业务定制每一层的接口;

  2. 客户端实现了与服务端的短连接请求,长连接请求,服务端的推送消息;

  3. 客户端提供跨平台的支持,目前已经经过windows,linux,android,ios的测试;

  4. 服务端采用master-worker(one loop per thread)的高性能模型,可以有效地利用服务器的多核来负载连接处理;

测试说明

直接利用工程自带单元测试配合使用后端服务 HPNetServer,前后端通信使用 json 数据传输协议。如果想支持其他数据传输协议(如RESTFull),只需替换数据层即可。

知识扩展

rpc_framework's People

Contributors

yaocoder avatar

Stargazers

 avatar Xiaochuan Ye avatar yuanzhuo wang avatar  avatar  avatar ligaojin avatar 这个好玩吗 avatar  avatar Ant - wan avatar mingzhil avatar Blalalt avatar  avatar zhaoyao avatar harkhuang avatar  avatar  avatar  avatar Rong Tao avatar  avatar  avatar  avatar chengwengao avatar JaredYeah avatar liuxuanli avatar  avatar feary avatar tesang avatar OrangeLiu avatar  avatar  avatar  avatar Malvin avatar 静心沉淀 avatar  avatar  avatar  avatar  avatar  avatar Breeze Chen avatar Seven avatar huangqc avatar  avatar torxie avatar zapline avatar codelife avatar

Watchers

 avatar James Cloos avatar  avatar CZ avatar luckytina avatar  avatar liuweiguang avatar Wenyi Zhao 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.