Skip to content

pranayh24/WebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebServer

A simple web server implementation in Java that includes three types of servers:

  1. Single-threaded server – handles one client at a time.
  2. Multi-threaded server – creates a new thread for each client connection.
  3. Thread-pool server – uses a thread pool to manage client connections efficiently.

Features

  • Single-threaded Server: Handles one client request at a time. This server is simple but may become a bottleneck under heavy load.
  • Multi-threaded Server: A new thread is spawned for each client connection, allowing multiple clients to be served simultaneously.
  • Thread-pool Server: Manages client connections using a pool of threads, which reduces the overhead of constantly creating and destroying threads.

Technologies Used

  • Java
  • Networking (Java Sockets)
  • Threading and Concurrency (Executors, Thread Pool)

About

A Multithreaded Server built on Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages