• This repository has been archived on 01/Sep/2021
  • Stars
    star
    539
  • Rank 82,402 (Top 2 %)
  • Language
    C
  • License
    MIT License
  • Created almost 14 years ago
  • Updated about 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a family of libraries and daemons for building scalable web infrastructure

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.

More Repositories

1

oauth2_proxy

A reverse proxy that provides authentication with Google, Github or other provider
Go
5,103
star
2

go-simplejson

a Go package to interact with arbitrary JSON
Go
3,719
star
3

data_hacks

Command line utilities for data analysis
Python
1,937
star
4

dablooms

scaling, counting, bloom filter library
C
965
star
5

asyncmongo

An asynchronous library for accessing mongo with tornado.ioloop
Python
611
star
6

statsdaemon

an implementation of Etsy's statsd in Go
Go
570
star
7

go-hostpool

Intelligently and flexibly pool among multiple hosts from your Go application
Go
377
star
8

bitly-api-python

python library to the bitly api
Python
244
star
9

go-notify

a Go package to observe notable events in a decoupled fashion
Go
236
star
10

forgettable

Various implementations of the forget table: a distributional database that forgets data
Go
201
star
11

file2http

spray a line-oriented file at an HTTP endpoint
Go
84
star
12

pyqrencode

python bindings for libqrencode
C
67
star
13

asyncdynamo

async Amazon DynamoDB library for Tornado
Python
60
star
14

ngx_http_full_request_log

nginx module to log a full request
C
32
star
15

bitly_chrome_extension

bit.ly chrome extension
JavaScript
27
star
16

little_bigtable

Little Bigtable is an emulator for Google Bigtable w/ persistence in sqlite3
Go
21
star
17

timer_metrics

TimerMetrics captures timings and enables periodic metrics every n events
Go
15
star
18

assetman

Assetman burns countless cycles and makes your deploys take forever
Python
14
star
19

doozer-c

async C client library for doozerd
C
10
star
20

bitly_ios_sdk_release

Bitly SDK for iOS
7
star
21

tsplot

Go
1
star
22

sprinterns2022

Python
1
star
23

winterns2021

Python
1
star