Skip to content

A Multi-Threaded Proxy Server with LRU Cache

Notifications You must be signed in to change notification settings

Sayan505/http_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Multi-Threaded HTTP Proxy Server with Cache

Features:

  • Multi-threaded (synchronized using semaphore and mutex)
  • HTTP GET request support
  • LRU Cache with time-to-live using a Doubly Linked-List
  • Traffic caching provides a massive ~96% improvement in response times from avg. ~951ms to <40ms.

Deployment:

  • compile: make release
  • run: ./build/release/proxy_server    # -nocache: disable cache
  • config. browser proxy setting to HTTP:https://127.0.0.1:5555 on the client side.

About

A Multi-Threaded Proxy Server with LRU Cache

Resources

Stars

Watchers

Forks