登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情~
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
11
Star
40
Fork
36
openEuler
/
open-source-summer
关闭
代码
Issues
235
Pull Requests
4
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
libevhtp使用libhv替代libevent
已完成
#I6YLUY
开源之夏2023
alittle
创建于
2023-04-25 10:08
libevhtp使用libhv替代libevent 项目地址: 【项目难度】进阶 【项目描述】 描述:libhv是一个类似于libevent、libev、libuv的跨平台网络库,提供了更易用的接口和更丰富的协议(社区地址:https://github.com/ithewei/libhv)。 Libevent是一个轻量级的高性能网络库,旨在替换事件驱动网络服务器中的事件循环,提供了三类事件的统一反应机制,支持在发生IO事件、信号事件、计时器超时事件后执行回调函数。 该项目的主要目标如下: - 将libevhtp中使用到libevent中至少80%接口替代为使用libhv的接口,并且保持原有软件功能正常。 【技术要求】: 1. 熟练掌握 C/C++ 开发语言 2. 熟悉操作系统事件库 【产出标准】 1. 代码以patch的形式合入libevhtp仓库的master分支。 2. 替代的接口占原有使用接口的比例50%以上,并且覆盖80%的不同接口,对于无法替代的接口继续使用libevent,并提供对应的材料说明。 3. 替代之后unbound的测试用例以及功能同原有一致。 4. 注释/文档详尽。 【导师姓名/导师邮箱】 @zhuofeng6 / zhuofeng2@huawei.com 【成果提交仓库】:https://gitee.com/src-openeuler/libevhtp 【相关参考资料】 libhv仓库:https://github.com/ithewei/libhv libevent社区:https://github.com/libevent/libevent ### English ibevhtp uses libhv instead of libevent. Project Address: 【Project difficulty】 Advanced 【Project Description】 Description: libhv is a cross-platform network library similar to libevent, libev, and libuv. It provides easy-to-use interfaces and richer protocols (community address: https://github.com/ithewei/libhv). Libevent is a lightweight, high-performance network library designed to replace the event loop in the event-driven network server. It provides a unified response mechanism for three types of events and supports callback function execution after I/O events, signal events, and timer timeout events occur. The main objectives of the project are as follows: Replace at least 80% of the interfaces in libevhtp and libevent with the interfaces that use libhv, and keep the original software functions normal. 【Technical Requirements】: Proficient in C/C++ development language Be familiar with the operating system event library. 【Output Standard】 The code is integrated into the master branch of the libevhtp repository as a patch. Substitute interfaces account for more than 50% of the original interfaces and cover 80% of different interfaces. For interfaces that cannot be replaced, use libevent and provide corresponding materials. After the replacement, the unbound test cases and functions are the same as those of the original version. Comment/Documentation is detailed. 【Mentor Name/Mentor Email】 @zhuofeng6 / zhuofeng2@huawei.com 【Result submission warehouse】: https://gitee.com/src-openeuler/libevhtp 【Related References】 libhv repository: https://github.com/ithewei/libhv libevent community: https://github.com/libevent/libevent
libevhtp使用libhv替代libevent 项目地址: 【项目难度】进阶 【项目描述】 描述:libhv是一个类似于libevent、libev、libuv的跨平台网络库,提供了更易用的接口和更丰富的协议(社区地址:https://github.com/ithewei/libhv)。 Libevent是一个轻量级的高性能网络库,旨在替换事件驱动网络服务器中的事件循环,提供了三类事件的统一反应机制,支持在发生IO事件、信号事件、计时器超时事件后执行回调函数。 该项目的主要目标如下: - 将libevhtp中使用到libevent中至少80%接口替代为使用libhv的接口,并且保持原有软件功能正常。 【技术要求】: 1. 熟练掌握 C/C++ 开发语言 2. 熟悉操作系统事件库 【产出标准】 1. 代码以patch的形式合入libevhtp仓库的master分支。 2. 替代的接口占原有使用接口的比例50%以上,并且覆盖80%的不同接口,对于无法替代的接口继续使用libevent,并提供对应的材料说明。 3. 替代之后unbound的测试用例以及功能同原有一致。 4. 注释/文档详尽。 【导师姓名/导师邮箱】 @zhuofeng6 / zhuofeng2@huawei.com 【成果提交仓库】:https://gitee.com/src-openeuler/libevhtp 【相关参考资料】 libhv仓库:https://github.com/ithewei/libhv libevent社区:https://github.com/libevent/libevent ### English ibevhtp uses libhv instead of libevent. Project Address: 【Project difficulty】 Advanced 【Project Description】 Description: libhv is a cross-platform network library similar to libevent, libev, and libuv. It provides easy-to-use interfaces and richer protocols (community address: https://github.com/ithewei/libhv). Libevent is a lightweight, high-performance network library designed to replace the event loop in the event-driven network server. It provides a unified response mechanism for three types of events and supports callback function execution after I/O events, signal events, and timer timeout events occur. The main objectives of the project are as follows: Replace at least 80% of the interfaces in libevhtp and libevent with the interfaces that use libhv, and keep the original software functions normal. 【Technical Requirements】: Proficient in C/C++ development language Be familiar with the operating system event library. 【Output Standard】 The code is integrated into the master branch of the libevhtp repository as a patch. Substitute interfaces account for more than 50% of the original interfaces and cover 80% of different interfaces. For interfaces that cannot be replaced, use libevent and provide corresponding materials. After the replacement, the unbound test cases and functions are the same as those of the original version. Comment/Documentation is detailed. 【Mentor Name/Mentor Email】 @zhuofeng6 / zhuofeng2@huawei.com 【Result submission warehouse】: https://gitee.com/src-openeuler/libevhtp 【Related References】 libhv repository: https://github.com/ithewei/libhv libevent community: https://github.com/libevent/libevent
评论 (
2
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已拒绝
负责人
未设置
标签
sig/sig-OSCourse
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/openeuler/open-source-summer.git
git@gitee.com:openeuler/open-source-summer.git
openeuler
open-source-summer
open-source-summer
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册