Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28223

Re: Async client for PostgreSQL?

Newsgroups comp.lang.python
Date 2012-09-01 16:57 -0700
References <mailman.24.1346476638.27098.python-list@python.org>
Subject Re: Async client for PostgreSQL?
From jwp <james.pye@gmail.com>
Message-ID <mailman.40.1346543837.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Friday, August 31, 2012 10:17:18 PM UTC-7, Laszlo Nagy wrote:
> Is there any extension for Python that can do async I/O for PostgreSQL 

As others point out, the easiest route is using one of the blocking drivers with threads and "emulate" async operations.

However, the low-level parts of py-postgresql (python.projects.postgresql.org) were designed with arbitrary modes in mind. That is, the protocol code is independent of the transport so that it could be used with frameworks like twisted given some effort. Much of the work that will go into py-postgresql over the next couple years will be to make it easier to integrate into arbitrary frameworks. Currently, I suspect it would require some "heavy lifting".. =\

cheers,

github.com/jwp

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Async client for PostgreSQL? Laszlo Nagy <gandalf@shopzeus.com> - 2012-09-01 07:17 +0200
  Re: Async client for PostgreSQL? jwp <james.pye@gmail.com> - 2012-09-01 16:57 -0700
  Re: Async client for PostgreSQL? jwp <james.pye@gmail.com> - 2012-09-01 16:57 -0700

csiph-web