https://github.com/cedrickchee/rust-webserver

[EXPERIMENTAL] Simple multi-threaded web server with a thread pool & graceful shutdown

https://github.com/cedrickchee/rust-webserver

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.6%) to scientific vocabulary

Keywords

educational-project rust-crate rust-lang webserver
Last synced: 5 months ago · JSON representation

Repository

[EXPERIMENTAL] Simple multi-threaded web server with a thread pool & graceful shutdown

Basic Info
  • Host: GitHub
  • Owner: cedrickchee
  • Language: Rust
  • Default Branch: master
  • Size: 4.88 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
educational-project rust-crate rust-lang webserver
Created over 6 years ago · Last pushed over 6 years ago
Metadata Files
Readme

README.md

Simple Web Server

A multi-threaded web server build with Rust 2018 edition.

Intention of this repo

An educational project for learning Rust programming language. The method used is not the best way to build a production-ready web server with Rust.

Building a Web Server

I've written the basic HTTP server and thread pool manually so you can learn the general ideas and techniques behind the crates you might use in the future. HTTP requests are serve using the thread pool.

We’ll work with the raw bytes of TCP and HTTP requests and responses.

Project Status

Although this is an educational project, I have plan to continue enhancing this project, and here are some ideas: - More robust error handling. - Add tests of the library's functionality. - Improve API design. - Stretch goal: implement a single-threaded non-blocking I/O server using async-await on Rust 1.39.0.

Demo

  • TODO: record terminal session and embed it here.

Owner

  • Name: Cedric Chee
  • Login: cedrickchee
  • Kind: user
  • Location: PID 1
  • Company: InvictusByte

Lead Software Engineer | LLMs | full stack Go/JS dev, backend | product dev @ startups | 🧑‍🎓 CompSci | alumni: fast.ai, Antler.co

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels