会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
flamedancer
博客园
首页
新随笔
联系
订阅
管理
[置顶]
从零开始一个http服务器(六)-多路复用和压力测试
摘要: 从零开始一个http服务器(六) 多路复用和压力测试 代码地址 : https://github.com/flamedancer/cserver git checkout step6 运行: make clean && make && ./myserver.out 测试 浏览器打开 http://1
阅读全文
posted @ 2018-12-23 16:20 flamedancer
阅读(799)
评论(0)
推荐(1)
[置顶]
从零开始一个http服务器(三)-返回response 构造
摘要: 从零开始一个http服务器(三) 代码地址 : https://github.com/flamedancer/cserver git checkout step3 运行: gcc request.h request.c response.h response.c main.c tools/utils
阅读全文
posted @ 2018-08-18 19:26 flamedancer
阅读(1948)
评论(0)
推荐(0)
[置顶]
从零开始一个http服务器(二)-请求request解析
摘要: 从零开始一个http服务器 (二) 代码地址 : https://github.com/flamedancer/cserver git checkout step2 解析http request 观察收到的http数据 解析 request 的 method url version 解析 heade
阅读全文
posted @ 2018-08-12 11:52 flamedancer
阅读(1411)
评论(0)
推荐(0)
[置顶]
从零开始一个http服务器(一)-开始
摘要: 从零开始一个http服务器 (一) 代码地址 : https://github.com/flamedancer/cserver git checkout step1 一个简单的socket server 从helloworld开始 回顾c语言的socket 通信 一个简单的socket server
阅读全文
posted @ 2018-08-12 11:49 flamedancer
阅读(1549)
评论(1)
推荐(0)
2025年5月26日
人工智能训练师 学习手册
摘要: 人工智能训练师 学习手册 安装包等资源摆渡已分享 ollama部署离线模式 解压 1 OLLAMA_INSTALL_DIR=/usr/local/ 2 tar -xvf ollama.tgz -C "$OLLAMA_INSTALL_DIR" 配置systemctl 确保开启了 systemctl 1
阅读全文
posted @ 2025-05-26 21:17 flamedancer
阅读(71)
评论(0)
推荐(0)
2018年10月17日
从零开始一个http服务器(五)-模拟cgi
摘要: 从零开始一个http服务器 模拟cgi(五) 代码地址 : https://github.com/flamedancer/cserver git checkout step5 运行: make clean && make && ./myserver.out 测试 浏览器打开 http://127.0
阅读全文
posted @ 2018-10-17 19:11 flamedancer
阅读(614)
评论(0)
推荐(0)
2018年9月28日
从零开始一个http服务器(四)-动态返回
摘要: 从零开始一个http服务器(四) 代码地址 : https://github.com/flamedancer/cserver git checkout step4 运行: make clean && make && ./myserver.out 测试: 浏览器打开 http://127.0.0.1:
阅读全文
posted @ 2018-09-28 15:23 flamedancer
阅读(706)
评论(0)
推荐(0)
2017年11月20日
拼音转汉字
摘要: # -*- coding:utf-8 -*-import requestsimport jsonimport sys def test(pinyin): url = 'http://olime.baidu.com/py' data = { 'input' : pinyin, 'inputtype'
阅读全文
posted @ 2017-11-20 17:24 flamedancer
阅读(431)
评论(0)
推荐(0)
2017年10月14日
24点牌 递归算法
摘要: # -*- coding: utf-8 -*-import sysclass My24(float): def __new__(cls, num, trace='', last_opt=''): obj = float.__new__(cls, num) return obj def __init_
阅读全文
posted @ 2017-10-14 14:47 flamedancer
阅读(877)
评论(0)
推荐(0)
2016年5月5日
系统吞吐量(TPS)、用户并发量、性能测试概念和公式
摘要: 原文链接 http://www.ha97.com/5095.html PS:下面是性能测试的主要概念和计算公式,记录下: 一.系统吞度量要素: 一个系统的吞度量(承压能力)与request对CPU的消耗、外部接口、IO等等紧密关联。 单个reqeust 对CPU消耗越高,外部系统接口、IO影响速度越
阅读全文
posted @ 2016-05-05 12:25 flamedancer
阅读(143)
评论(0)
推荐(0)
下一页
公告