simplehttp
simplehttp copied to clipboard
a family of libraries and daemons for building scalable web infrastructure
Hi all, I've been trying to follow the tutorial found here: http://micha.gd/realtimestream/ . I am using libevent-1.4.14 . I get to the point in the tutorial where I issue this...
Work in progress, but this is to cover some exploratory changes to switch to libevent2. The end of this may or may not result in immediate merging of this, but...
I have a pubsub instance not doing much and using 28135 connections, 573 of which are TCP and 27496 of which are (according to lsof): pubsub 3392 root *462u sock...
what the title says
simplehttp async connection pool resources are never all freed, even if there is no connection activity for a long time. This can contribute to memory fragmentation and pin large heap...
``` python http = httpclient.HTTPClient() url = "http://localhost:13731/get" params = urllib.urlencode({'key':'f00'}) url += '?' + params resp = http.fetch(url) print resp.headers.get('Content-Type', "No content type!") # prints: text/html; charset=ISO-8859-1 ``` Should...
maybe it should check all input before writing to the db? maybe it should return an indication of how many records it wrote successfully?
because we don't currently explicitly set `evhttp_connection_set_closecb` there is a bug where asynchronous handlers could dereference invalid request or connection objects when the remote hangs up before the request was...
Update simplequeue to use page based allocation. This will allow linux to reclaim free'd memory regardless of heap position.