{"id":23364213,"url":"https://github.com/anolchakraborty/java-multi_threaded-http-server","last_synced_at":"2025-07-25T09:36:43.393Z","repository":{"id":182857343,"uuid":"456931448","full_name":"AnolChakraborty/java-multi_threaded-http-server","owner":"AnolChakraborty","description":"A high performance multi-threaded HTTP webserver built with JAVA implementing sockets and not using any web or other server libraries.","archived":false,"fork":false,"pushed_at":"2022-05-08T19:55:22.000Z","size":1616,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T23:44:45.978Z","etag":null,"topics":["http","http-server","java","javaserver","javasockets","server"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnolChakraborty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-02-08T12:52:54.000Z","updated_at":"2023-11-06T18:48:05.000Z","dependencies_parsed_at":"2023-07-21T22:18:21.274Z","dependency_job_id":null,"html_url":"https://github.com/AnolChakraborty/java-multi_threaded-http-server","commit_stats":null,"previous_names":["anolchakraborty/java-multi_threaded-http-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnolChakraborty%2Fjava-multi_threaded-http-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnolChakraborty%2Fjava-multi_threaded-http-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnolChakraborty%2Fjava-multi_threaded-http-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnolChakraborty%2Fjava-multi_threaded-http-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnolChakraborty","download_url":"https://codeload.github.com/AnolChakraborty/java-multi_threaded-http-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247738930,"owners_count":20987920,"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","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":["http","http-server","java","javaserver","javasockets","server"],"created_at":"2024-12-21T13:14:35.462Z","updated_at":"2025-04-07T22:25:19.262Z","avatar_url":"https://github.com/AnolChakraborty.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JAVA-HTTP-Server\n### A high performance multi-threaded HTTP webserver built with JAVA implementing sockets and not using any web or other server libraries.\n\n[![powered by](https://img.shields.io/badge/Powered%20by-JAVA-blue?style=for-the-badge\u0026logo=java\u0026logoColor=red\u0026color=e67300\u0026labelColor=3244a8)](https://www.java.com/)\n[![powered by](https://img.shields.io/badge/Managed%20using-MAVEN-blue?style=for-the-badge\u0026logo=Apache\u0026logoColor=E4682A\u0026color=812878\u0026labelColor=26235B)](https://maven.apache.org/)\n[![powered by](https://img.shields.io/badge/Java%20HTTP%20Server-HTTP/1.1-blue?style=for-the-badge\u0026logo=AIOHTTP\u0026logoColor=black\u0026color=blue\u0026labelColor=ba0d0d)](https://datatracker.ietf.org/doc/html/rfc2616)\n\n\u003cp align=\"center\" width=\"100%\"\u003e\n    \u003ca href=\"#java-http-server\"\u003e\u003cimg width=\"100%\" src=\"https://i.ibb.co/t8sQLph/imgonline-com-ua-twotoone-R2-Oj-YEGX146-E2-PEs-removebg-preview.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThis project is under development and needs further improvement\n\n#### Project is maintained using Maven\n#### IDE used for project development is VS-Code\n\n## Server Performance \nI tested the server in my local machine having following configuration, attached below is the result.\n\n[Benchmark Result](https://github.com/AnolChakraborty/java-multi_threaded-http-server/blob/main/Benchmark%20Result.pdf)\n\n##### \u0026nbsp;\u0026nbsp;\u0026nbsp;Configuration of testing machine:\n- CPU: AMD Ryzen 5 5600H Hexa core CPU @ 4.2GHz\n- GPU: Radeon RX550M 4GB\n- RAM: 12GB DDR4 @ 3200MHz\n- Storage: 512GB M.2 SSD\n- OS: Windows 11\n- JAVA version: Open JDK v18 Windows 64bit\n- Benchmarking tool: [Webstress](https://www.paessler.com/tools/webstress)\n\n\n## Features added till now\n- Multi-threaded request processing capability\n- Can serve basic webpages\n- Can handle javascript and css along with other files\n- Can serve multiple webpages from different directories\n- Can handle wrong webpage and resource requests\n- Can handle icons \u0026 images and other media _(there is a bug here)_\n- Can handle post request as well as AJAX calls\n- Cookie based session handling.\n- JSON data processing and parsing to and from the server to client\n- Use of appropiate response codes\n- Database integration with MySQL\n\n## Features to be added\n- To handle Get request\n- Video Streaming capabilities\n- Proper handling of request method (POST/GET etc)\n\n## Upcoming feature\n- GET request handling and GET data parsing\n\n## Current Bug\n\u003eCurrently no bug exists.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanolchakraborty%2Fjava-multi_threaded-http-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanolchakraborty%2Fjava-multi_threaded-http-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanolchakraborty%2Fjava-multi_threaded-http-server/lists"}