https://github.com/nullsimon/c10k-go
c10k-go is a project aims to solve problems step by step
https://github.com/nullsimon/c10k-go
Last synced: 2 months ago
JSON representation
c10k-go is a project aims to solve problems step by step
- Host: GitHub
- URL: https://github.com/nullsimon/c10k-go
- Owner: nullsimon
- Created: 2022-08-02T01:42:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T13:11:34.000Z (over 3 years ago)
- Last Synced: 2024-06-21T10:59:11.401Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C10k-Go
This article is about the C10k-Go project.
# Prerequisites
## Go
## C10k
## linux (Ubuntu)
* netstat
* top
* vim
* wget
## Install-Script
### install go-stress-testing
[go-stress-testing](https://github.com/link1st/go-stress-testing)
# Usage
just run the following command
## 1 start server
```bash
cd cmd/server && GOMAXPROCS=4 go run server.go
```
## 2 start client
```bash
cd cmd && bash go-stress-testing.sh
```
## 3 check the result && watch the system load
```bash
netstat -tlnpu # check the port
top # check the system load
```