Skip to content
This repository

a family of libraries and daemons for building scalable web infrastructure

branch: master

Merge pull request #84 from jsocol/filtered-heartbeats_84

pubsub_filtered: pass through heartbeats
latest commit 980ab98f44
Jehiah Czebotar jehiah authored
Octocat-spinner-32 buffered_socket cstyle repo April 05, 2012
Octocat-spinner-32 domain_socket cstyle repo April 05, 2012
Octocat-spinner-32 host_pool change (char *) to (const char *) where possible May 17, 2012
Octocat-spinner-32 jujufly astyle December 06, 2011
Octocat-spinner-32 profiler_stats cstyle repo April 05, 2012
Octocat-spinner-32 ps_to_file Mac compatability in Makefiles September 11, 2012
Octocat-spinner-32 ps_to_http Mac compatability in Makefiles September 11, 2012
Octocat-spinner-32 pubsub Updated pysimplehttp and added BaseReader+deps September 10, 2012
Octocat-spinner-32 pubsub_filtered Replace commented debug statements with #ifdef August 23, 2013
Octocat-spinner-32 pubsubclient cstyle repo April 05, 2012
Octocat-spinner-32 pysimplehttp Compatability with recent tornado versions September 12, 2012
Octocat-spinner-32 qrencode astyle December 06, 2011
Octocat-spinner-32 queuereader remove broken/unused method May 17, 2012
Octocat-spinner-32 shared_tests test_shunt: properly generate path of valgrind output May 17, 2012
Octocat-spinner-32 simpleattributes astyle December 06, 2011
Octocat-spinner-32 simplegeo astyle December 06, 2011
Octocat-spinner-32 simplehttp simplehttp_log: be paranoid about input_buffer November 09, 2012
Octocat-spinner-32 simpleleveldb simpleleveldb: add HUP handler to roll leveldb August 16, 2012
Octocat-spinner-32 simplememdb astyle December 06, 2011
Octocat-spinner-32 simplequeue simpleleveldb: new list and set endpoints, cleaned up most other endp… May 08, 2012
Octocat-spinner-32 simpletokyo we shoud be skipping not found errors, not 500ing March 07, 2013
Octocat-spinner-32 sortdb Add memory lock flag to readme August 20, 2012
Octocat-spinner-32 .gitignore Updated pysimplehttp and added BaseReader+deps September 10, 2012
Octocat-spinner-32 LICENSE doc updates January 31, 2011
Octocat-spinner-32 README.md update README February 09, 2012
Octocat-spinner-32 conftest.py simpleleveldb: new list and set endpoints, cleaned up most other endp… May 08, 2012
Octocat-spinner-32 setup.py Compatability with recent tornado versions September 12, 2012
README.md

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:

  • buffered_socket - a simple abstraction on bufferevent for arbitrary TCP sockets
  • domain_socket - an async C library for creating, listening, and communicating over unix domain sockets
  • host_pool - a library for dealing with endpoint selection, pooling, failure, recovery, and backoff
  • profiler_stats - a library to track arbitrary profiler timings for average, 95%, 99%, 100% time
  • ps_to_http - a daemon built on top of pubsubclient to write messages from a source pubsub to destination simplequeue or pubsub server
  • ps_to_file - a daemon built on top of pubsubclient to write messages from a source pubsub to time rolled output files
  • pubsub - a daemon that receives data via HTTP POST events and writes to all subscribed long-lived HTTP connections
  • pubsub_filtered - a pubsub daemon with the ability to filter/obfuscate fields of a JSON message
  • pubsubclient - a library for writing clients that read from a pubsub
  • pysimplehttp - a python library for working with pubsub and simplequeue
  • qrencode
  • queuereader - a library for writing clients that read from a simplequeue and do work
  • simpleattributes
  • simplegeo
  • simplehttp
  • simpleleveldb - a HTTP CRUD interface to leveldb
  • simplememdb - an in-memory version of simpletokyo
  • simplequeue - an in memory queue with HTTP /put and /get endpoints to push and pop data
  • simpletokyo - a HTTP CRUD interface to front tokyo cabinet's ttserver
  • sortdb - sorted database server

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.

Something went wrong with that request. Please try again.