Giter Site home page Giter Site logo

manishshettym / proxycloud Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 7.05 MB

A simple locally hosted multiproxy caching server system created in python and it's vast set of modules for LANs.

Python 69.27% C 0.39% CSS 19.52% HTML 10.82%
python proxies socket urllib2 webserver

proxycloud's Introduction

alt text

ProxyCloud

  • A simple locally hosted multiproxy caching server system created in python and it's vast set of modules for LANs.

  • The webserver deployed is a simple BaseHttp Server written in python with caching abilities.

  • The proxy servers ( right now only 2 , but can be exemplified with more) are chosen on [Round-Robin] Algorithmic order to implement load balancing to the webserver's request

Running the project

  • Point your browsers proxy to the WebServers IP and port

  • To run the webserver:

cd /path/to/your/directory
python threading_cache_proxy.py
  • To run the two proxies built in:
cd /path/to/your/directory
python proxy_server<serverid>.py
  • To run the proxy Web-App:
cd /path/to/your/directory
python3 app2.py

Development

  • Build and Add more proxies for your server with a few lines of simple code
  • Apply better caching techniques and load-balancing methods

Tech/Libraries/Modules used

  • [Flask] - A micro web framework written in Python and based on the Werkzeug toolkit and Jinja2 template engine. (Web App)
  • [Urllib2] - Urllib2 module defines functions and classes which help in opening URLs (mostly HTTP)
  • [Hashlib] - A hashing library used to hash cached services of webpages that makes retrieving easier
  • [Socket] - A socket programming module that allows creating sockets for servers for connections following TCP
  • [Threading] - A module to run parallel executions speeding up the request process

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.