1. 首页
  2. 数据库
  3. 其它
  4. Golang VS Swoole 静态网页QPS测试

Golang VS Swoole 静态网页QPS测试

上传者: 2021-01-16 10:50:41上传 PDF文件 533.17KB 热度 8次
Golang的http服务器代码 package main import ( //fmt net/http ) func main() { http.HandleFunc(/, func(w http.ResponseWriter, r *http.Request) { w.Write([]byte(你好世界,我是golang)) }) http.ListenAndServe(192.168.0.106:8080, nil) } 启动代码 go run web.go Swoole的http服务器代码 set([
下载地址
用户评论