{"id":31584236,"url":"https://github.com/vertyll/multithreaded-web-server","last_synced_at":"2025-10-06T00:46:46.300Z","repository":{"id":290164193,"uuid":"899713929","full_name":"vertyll/multithreaded-web-server","owner":"vertyll","description":"Multithreaded web server written in Rust.","archived":false,"fork":false,"pushed_at":"2025-04-27T09:09:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T10:22:54.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vertyll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-06T21:13:13.000Z","updated_at":"2025-04-27T09:09:29.000Z","dependencies_parsed_at":"2025-04-27T10:22:56.163Z","dependency_job_id":"755bc5af-f968-49e6-8e3a-9bf19bea3a57","html_url":"https://github.com/vertyll/multithreaded-web-server","commit_stats":null,"previous_names":["vertyll/multithreaded-web-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vertyll/multithreaded-web-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vertyll%2Fmultithreaded-web-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vertyll%2Fmultithreaded-web-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vertyll%2Fmultithreaded-web-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vertyll%2Fmultithreaded-web-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vertyll","download_url":"https://codeload.github.com/vertyll/multithreaded-web-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vertyll%2Fmultithreaded-web-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278542685,"owners_count":26004061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-06T00:46:44.730Z","updated_at":"2025-10-06T00:46:46.295Z","avatar_url":"https://github.com/vertyll.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multithreaded Web Server\n\nThis repository contains an implementation of a multithreaded web server in Rust.\n\n## Overview\n\nThe server demonstrates Rust's concurrency capabilities by handling multiple connections simultaneously using a thread pool architecture. This implementation showcases key Rust concepts such as:\n\n- Thread management\n- Thread pools\n- MPSC (Multiple Producer, Single Consumer) channels\n- Safe concurrency patterns\n- Error handling\n\n## Features\n\n- Configurable thread pool for handling concurrent connections\n- Graceful request handling and response generation\n- Basic HTTP request parsing\n- Static file serving capabilities\n- Clean shutdown mechanism\n\n## Implementation Details\n\nThe server uses a thread pool to manage a predefined number of worker threads. When a new connection arrives, it's passed to an available worker thread for processing rather than spawning a new thread for each connection, which provides better resource utilization and performance.\n\n## Usage\n\nTo run the server:\n\n```\ncargo run\n```\n\nThe server will start listening on `127.0.0.1:7878` by default.\n\n## Testing\n\nYou can test the server by opening a web browser and navigating to:\n```\nhttp://127.0.0.1:7878\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvertyll%2Fmultithreaded-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvertyll%2Fmultithreaded-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvertyll%2Fmultithreaded-web-server/lists"}