{"id":18056996,"url":"https://github.com/vanshajb10/multithreaded_web_server","last_synced_at":"2025-04-05T10:21:40.495Z","repository":{"id":259299317,"uuid":"877521014","full_name":"VANSHAJB10/MultiThreaded_Web_Server","owner":"VANSHAJB10","description":"This project demonstrates Java's multithreading capabilities!. High-performance, Multithreaded web server capable of handling up to 1 million concurrent requests. Built with Java, the server utilizes efficient thread management and thread pooling to ensure optimal resource utilization and minimal latency.","archived":false,"fork":false,"pushed_at":"2024-10-23T19:58:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T21:05:42.483Z","etag":null,"topics":["java-8","multithreading"],"latest_commit_sha":null,"homepage":"","language":"Java","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/VANSHAJB10.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}},"created_at":"2024-10-23T19:44:18.000Z","updated_at":"2024-10-23T19:59:32.000Z","dependencies_parsed_at":"2024-10-24T07:08:01.495Z","dependency_job_id":"667a9d16-5a60-4e27-804f-638e8c7a6e53","html_url":"https://github.com/VANSHAJB10/MultiThreaded_Web_Server","commit_stats":null,"previous_names":["vanshajb10/multithreaded_web_server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VANSHAJB10%2FMultiThreaded_Web_Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VANSHAJB10%2FMultiThreaded_Web_Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VANSHAJB10%2FMultiThreaded_Web_Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VANSHAJB10%2FMultiThreaded_Web_Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VANSHAJB10","download_url":"https://codeload.github.com/VANSHAJB10/MultiThreaded_Web_Server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247319840,"owners_count":20919661,"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":["java-8","multithreading"],"created_at":"2024-10-31T02:06:15.752Z","updated_at":"2025-04-05T10:21:40.459Z","avatar_url":"https://github.com/VANSHAJB10.png","language":"Java","readme":"# MultiThreaded Web Server using Java\n\n\u003cb\u003eThis project demonstrates Java's multithreading capabilities!.\u003c/b\u003e\n\u003cbr\u003e\nHigh-performance, Multithreaded web server capable of handling up to 1 million concurrent requests.\u003cbr\u003e\nBuilt with Java, the server utilizes efficient thread management and thread pooling to ensure optimal resource utilization and minimal latency.\n\n\u003cbr\u003e\n\u003ch3\u003e What is a Server? \u003c/h3\u003e \n\u003cbr\u003e\nA Server serves static/dynamic content to users.\n\n\u003chr\u003e\nIf too many (example 10k) clients hit the server --\u003e multiprocessing server will open 10k threads. 1 thread for each request\nThread block of 10 k threads will consume too much memory and Resources of the system that it may crash.\n\nMaking it impossible to serve 10k RPS. \n\nTo solve this probem - a Thread Pool can be used.\nIt is a pool of Threads, ready to serve incoming requests.\n\nThread which is done with execution is reused again so no need to create more (\u003e 100) threads.\nTasks wait in Queue till a thread is available to take up a task.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanshajb10%2Fmultithreaded_web_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanshajb10%2Fmultithreaded_web_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanshajb10%2Fmultithreaded_web_server/lists"}