https://github.com/probably-not/server-scratch
Just a small scratch to mess around with various server implementations
https://github.com/probably-not/server-scratch
Last synced: about 1 month ago
JSON representation
Just a small scratch to mess around with various server implementations
- Host: GitHub
- URL: https://github.com/probably-not/server-scratch
- Owner: probably-not
- Created: 2021-10-21T04:57:10.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T07:13:29.000Z (about 4 years ago)
- Last Synced: 2025-02-24T16:53:27.799Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# server-scratch
A small scratch to mess around with various server implementations. For right now, we mess around with the stdlib (AKA net/http), [evio](https://github.com/tidwall/evio), and [gnet](https://github.com/panjf5000/gnet).
## Goals
Create functional stdlib compatible server implementations to check out HTTP.
Evio and Gnet are essentially almost the exact same API, with slightly different implementation details, so it was easy to create something that would read the incoming data frame and then parse it into the http request struct.
This whole thing was wrapped so that I can play with various implementations and see how they work out.