aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-07-04 18:53:30 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-07-04 18:53:30 +0200
commit85b434ffc8870a592044b29686f6d2f352fe7c45 (patch)
treee3dc7f14437530f48ccb0d7d124f22e74be569fc /README.md
downloadpgsql-http-bgworker-85b434ffc8870a592044b29686f6d2f352fe7c45.tar.gz
pgsql-http-bgworker-85b434ffc8870a592044b29686f6d2f352fe7c45.tar.bz2
pgsql-http-bgworker-85b434ffc8870a592044b29686f6d2f352fe7c45.tar.xz
pgsql-http-bgworker-85b434ffc8870a592044b29686f6d2f352fe7c45.zip
o Initial import of my PostgreSQL background worker + HTTP experiment.
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..fa3b02b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+This is me mainly scratching an itch, but it is a small proof of
+concept on how possible it is to embed a HTTP server into PostgreSQL
+as a background worker.
+
+Right now it uses libebb as an event-driven HTTP server. As the
+background workers only have a single connection to the database, one
+process can only serve one client at a time. Libebb support multiple
+connection, you better not connect multiple times.
+
+Other possible HTTP implementations:
+
+ * https://github.com/valenok/mongoose.git - tried it, got complicated
+ because it wanted to control forking.
+ * https://github.com/joyent/http-parser - a plain HTTP parser, might
+ be useful if I end up with a custom HTTP server.