Skip to content

Instantly share code, notes, and snippets.

View saltbo's full-sized avatar
🎯
Focusing

Jasper Van saltbo

🎯
Focusing
View GitHub Profile
### Keybase proof
I hereby claim:
* I am saltbo on github.
* I am saltbo (https://keybase.io/saltbo) on keybase.
* I have a public key ASDlkCkqXWcKmxfplctZQEwcLvOi9r2UgSOFtDVQrAsFuQo
To claim this, I am signing this object:
@saltbo
saltbo / linux-http-tcp.md
Created November 14, 2019 06:55 — forked from v5tech/linux-http-tcp.md
linux下查看http 并发和 tcp连接数

linux查看httpd进程数

ps -ef | grep httpd | wc -l

查看Apache的并发请求数及其TCP连接状态

netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'

1. rust actix-web

2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   654.26us  226.01us  13.21ms   97.09%
    Req/Sec    73.74k     9.06k  123.48k    41.13%
  8810858 requests in 1.00m, 0.99GB read
Requests/sec: 146603.79
Transfer/sec:     16.92MB
package randstring
import (
"math/rand"
"time"
)
func init() {
rand.Seed(time.Now().UnixNano())
}
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Jasper Van",
"label": "Senior Software Engineer",
"image": "",
"email": "rdsaltbo@gmail.com",
"phone": "(209) 671-5330",
"summary": "Jasper is an experienced engineer with over a decade in computer programming and the past seven years focused on cloud-native. He is highly proficient in key platforms such as Kubernetes, Istio, Argo, and Knative. A dedicated contributor to several open source projects and a member of both the Istio and Kubernetes communities, Jasper is passionate about the open source movement and is committed to its collaborative spirit and innovation.",
"location": {