bitly / simplehttp

a family of libraries and daemons for building scalable web infrastructure
http://github.com/bitly/simplehttp
MIT License
541 stars 82 forks source link

simplehttp

simplehttp is a family of libraries and daemons built upon libevent that make high performance HTTP servers simple and straightforward to write.

The following libraries and daemons are included:

simplehttp Install Instructions

to install any of the simplehttp components you will need to install libevent 1.4.13+ and the 'simplehttp' module first.

build the main library this provides libsimplehttp.a simplehttp/simplehttp.h and simplehttp/queue.h

cd simplehttp
make && make install

now install whichever module you would like this will compile 'simplequeue' and place it in /usr/local/bin

cd simplequeue
make && make install

Some modules have additional dependencies:

pysimplehttp Install Instructions

pip install pysimplehttp

provides file_to_sq.py and ps_to_sq.py. It will use ujson if available.