Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A high performance modern C++ network library

NotificationsYou must be signed in to change notification settings

zaxtyson/Jerry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jerry_logo

≡ Jerry ≡

简介

  • ✨ Jerry 是一个高性能的 C++ 网络库
  • 😎 内置定时器(支持单次/重复/条件定时)、线程池(支持优先级)、异步日志等组件
  • ♻ 基于 Reactor 模型, 使用 Epoll 驱动事件循环
  • 🛠 支持 HTTP/Websocket, 可编写 Codec 处理自定义协议
  • 🛡 使用 OpenSSL 提供 SSL/TLS 流量加密(可选)
  • ⚡ 使用 Kernel 3.9+ 提供的REUSEPORT 特性实现高效的负载均衡
  • ❤️ 使用 Modern C++ 开发, 对人类友好

总体架构

jerry-structure

编译

本项目基于 C++17 开发, 如果编译器版本过低, 请升级编译器工具链

git clone --recurse-submodules --shallow-submodules https://github.com/zaxtyson/Jerry.git

需要修改编译选项请查看CMakeLists.txt

mkdir buildcd buildcmake ..make

编译产物位于Jerry/dist

示例

TODO

  • MySQL/Redis 连接池
  • 协程支持
  • 自定义限流器
  • io_uring

About

A high performance modern C++ network library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp