GithubHelp home page GithubHelp logo

conet's Introduction

cwj_co_net

一个基于网络事件驱动的协程调度框架,主要用于快捷的搭建各种服务器,包括但不限于tcpserver,httpserver,rpc框架;

项目特点

  • 利用ucontext实现有栈协程,以网络事件为驱动,对协程进行调度
  • 利用hook技术把非阻塞IO操作包装成同步操作,减轻用户编写和调试压力
  • 提供丰富的工具模块,以便被一般的项目复用
  • 仅支持linux平台

各大模块

主模块

  • 协程调度器模块以及其IO子模块
  • hook模块

优化模块

工具模块

功能模块

  • tcp服务器模块
  • http服务器模块

框架性能

网络框架性能请移步: 压测报告

NOW

quic协议的实现(模型设计中)

TODO

  1. rpc框架
  2. 分布式K-V存储服务
  3. http模块的负载均衡
  4. slab分配系统优化

旧readme

old_readme

conet's People

Contributors

cwj2001 avatar

Watchers

 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.