Skip to content

AndyChhuon/httpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Server From Scratch

A HTTP/1.1 server built in Java at the socket level using only the standard library, without Spring, Netty, or frameworks.

Requirements

  • Java 17+
  • Maven

Getting Started

Compile and run the server:

mvn compile exec:java -Dexec.mainClass=com.andy.Server

The server listens on http://localhost:8080.

Testing

In a separate terminal:

curl -v http://localhost:8080

Load testing with JMeter

Run the JMeter test and generate an HTML report:

jmeter -n -t loadtest.jmx -l results.jtl -e -o report/
open report/index.html

About

socket level HTTP Server From Scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages