From: | Dmitriy Igrishin <dmitigr(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Async IO HTTP server frontend for PostgreSQL |
Date: | 2014-09-08 17:59:00 |
Message-ID: | CAAfz9KOXjom-605=pRZgFSNifoU3mzvbHTT5kGbbL-LzA_38FQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Dear community,
I need a %subj% -- high performance HTTP server solution
based on asynchronous IO with ability to run PostgreSQL's
functions from HTML templates asynchronously and passing
the results to the HTTP client.
For example, consider a simple template:
<html>
<div id="rows">
${get_rows(id := :id)}
</div>
</html>
The function get_rows() will be called asynchronously
during the dispatching HTTP request and the result of
it will streams immediately to the HTTP client via async IO.
Currently, I've found only a module for NGINX
https://github.com/FRiCKLE/ngx_postgres
but it does not what I need.
Ideally, it should be a simple C (libevent based) or C++
(boost::asio based) library.
Please, if anyone has a ready solution of the idea described
above, let me know, because I don't want waste my time to write
it from scratch.
--
// Dmitriy.
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2014-09-08 18:10:09 | Re: How to restore backup database |
Previous Message | klo uo | 2014-09-08 17:49:30 | Re: How to restore backup database |