Skip to content

A multithreaded web server in C++ using OOP design patterns like Singleton for server instance management, Command for HTTP request routing, Observer for request notifications, and multithreading for concurrent client handling. Built with C++17, designed for POSIX-compliant systems (Linux/macOS).

Notifications You must be signed in to change notification settings

satyam-singhxx/multithreaded-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreaded Web Server with OOP Design Patterns Project Overview This project demonstrates a multithreaded web server implemented using Object-Oriented Programming (OOP) design patterns in C++. Design Patterns Used

Singleton Pattern: Ensures only one server instance exists Command Pattern: Handles different HTTP request types Observer Pattern: Manages request notifications Multithreading: Handles concurrent client connections

Building the Project bashCopymake Running the Server bashCopy./build/webserver Key Components

Server: Singleton server management CommandInvoker: HTTP method request routing ThreadPool: Concurrent request handling Observer: Request notification mechanism

Dependencies

C++17 compatible compiler POSIX-compliant system (Linux/macOS)

About

A multithreaded web server in C++ using OOP design patterns like Singleton for server instance management, Command for HTTP request routing, Observer for request notifications, and multithreading for concurrent client handling. Built with C++17, designed for POSIX-compliant systems (Linux/macOS).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published